Пример #1
0
 public BloodDonation(DateTime dateOfDonation, int volume, BloodType bloodType, Donor donor, Personnel bloodTaker)
 {
     DateOfDonation = dateOfDonation;
     Volume         = volume;
     BloodType      = bloodType;
     Donor          = donor;
     BloodTaker     = bloodTaker;
 }
Пример #2
0
 public Donor(string pesel, string name, DateTime lastDonated, BloodType bloodType, string mail,
              string phone)
 {
     Pesel       = pesel;
     Name        = name;
     LastDonated = lastDonated;
     BloodType   = bloodType;
     Mail        = mail;
     Phone       = phone;
 }