Ejemplo n.º 1
0
 public BloodDonation(DateTime dateOfDonation, int volume, BloodType bloodType, Donor donor, Personnel bloodTaker)
 {
     DateOfDonation = dateOfDonation;
     Volume         = volume;
     BloodType      = bloodType;
     Donor          = donor;
     BloodTaker     = bloodTaker;
 }
Ejemplo n.º 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;
 }