Esempio n. 1
0
 public PersonalInformation(
     EmiratesId emiratesId,
     FullName fullName, 
     Gender gender,
     Email email,
     Mobile mobile,
     Address address,
     DateTime? dateOfBirth = null)
 {
     this.FullName = fullName;
     this.EmiratesId = emiratesId;
     this.Gender = gender;
     this.Mobile = mobile;
     this.Email = email;
     this.Address = address;
     this.DateOfBirth = dateOfBirth;
 }
Esempio n. 2
0
 public Customer(Guid id, string firstName, string lastName, Mobile mobile, Email email)
     : this(id, firstName, lastName)
 {
     this.Mobile = mobile;
     this.Email = email;
 }