Beispiel #1
0
 public Insurance(string id, DateTime dateSubmitting, DateTime startInsurance, DateTime endInsurance, List <Insured> insureds, InsuranceStatusEnum status)
 {
     Id             = id;
     DateSubmitting = dateSubmitting;
     StartInsurance = startInsurance;
     EndInsurance   = endInsurance;
     Insureds       = insureds;
     Status         = status;
 }
 public InsureBuilder SetStatus()
 {
     Status = InsuranceStatusEnum.Registered;
     return(this);
 }