Esempio n. 1
0
 public CreateCustomerCommand(string name, string gender, DateTime birthday, EMaritalStatus maritalStatus)
 {
     Name          = name;
     Gender        = gender;
     Birthday      = birthday;
     MaritalStatus = maritalStatus;
 }
Esempio n. 2
0
 public CreateCustomerResponse(Guid id, string name, string gender, DateTime birthday, EMaritalStatus maritalStatus)
 {
     Id            = id;
     Name          = name;
     Gender        = gender;
     Birthday      = birthday;
     MaritalStatus = maritalStatus;
 }
Esempio n. 3
0
 public Customer(string name, string gender, DateTime birthday, EMaritalStatus maritalStatus, Guid userId)
 {
     Name          = name;
     Gender        = gender;
     Birthday      = birthday;
     MaritalStatus = maritalStatus;
     UserId        = userId;
 }
Esempio n. 4
0
 public void Update(DateTime birthDate, string cep, string city, string complement, string cpf, string district, string email, string name, string number, string state, string street, EMaritalStatus maritalStatus, EGender gender, string occupation, string telephone, string cellular)
 {
     BirthDate     = birthDate;
     Cep           = cep;
     City          = city;
     Complement    = complement;
     Cpf           = cpf;
     District      = district;
     Email         = email;
     Name          = name;
     Number        = number;
     State         = state;
     Street        = street;
     MaritalStatus = maritalStatus;
     Gender        = gender;
     Occupation    = occupation;
     Telephone     = telephone;
     Cellular      = cellular;
 }
Esempio n. 5
0
 public Patient(Guid id, DateTime birthDate, string cep, string city, string complement, string cpf, string district, string email, string name, string number, string state, Guid?healthInsuranceId, string street, EMaritalStatus maritalStatus, EGender gender, string occupation, string telephone, string cellular)
 {
     Id                = id;
     BirthDate         = birthDate;
     Cep               = cep;
     City              = city;
     Complement        = complement;
     Cpf               = cpf;
     District          = district;
     Email             = email;
     Name              = name;
     Number            = number;
     State             = state;
     HealthInsuranceId = healthInsuranceId;
     Street            = street;
     MaritalStatus     = maritalStatus;
     Gender            = gender;
     Occupation        = occupation;
     Telephone         = telephone;
     Cellular          = cellular;
     _schedules        = new List <Scheduling>();
 }