예제 #1
0
 public void Update(string name, string guardianName, string guardianAddress, string guardianPhone, string reasonHospitalization,
                    HealthCondition healthCondition, string image = null, Accommodation accommodation = null)
 {
     this.Name                  = name;
     this.GuardianName          = guardianName;
     this.GuardianAddress       = guardianAddress;
     this.GuardianPhone         = guardianPhone;
     this.ReasonHospitalization = reasonHospitalization;
     this.HealthCondition       = healthCondition;
     this.Image                 = image;
     this.Accommodation         = accommodation;
 }
예제 #2
0
 public Animal(string name, string guardianName, string guardianAddress, string guardianPhone, string reasonHospitalization, HealthCondition healthCondition, Accommodation accommodation, string image = null)
 {
     Id                    = Guid.NewGuid();
     Name                  = name;
     GuardianName          = guardianName;
     GuardianAddress       = guardianAddress;
     GuardianPhone         = guardianPhone;
     ReasonHospitalization = reasonHospitalization;
     HealthCondition       = healthCondition;
     Accommodation         = accommodation;
     Image                 = image;
 }