protected EmployeeBase(PersonalData personalData, Role role)
 {
     PersonalData = personalData;
     Role         = role;
 }
Beispiel #2
0
 public Doctor(PersonalData personalData, string pwz, Speciality speciality) : base(personalData, Role.Lekarz)
 {
     PWZ        = pwz;
     Speciality = speciality;
 }
Beispiel #3
0
 public bool Equals(PersonalData personalData)
 {
     return(this.FirstName.Equals(personalData.FirstName) && this.LastName.Equals(personalData.LastName) &&
            this.Address.Equals(personalData.Address));
 }
Beispiel #4
0
 public Nurse(PersonalData personalData) : base(personalData, Role.Pielegniarka)
 {
 }
Beispiel #5
0
 public Administrator(PersonalData personalData) : base(personalData, Role.Administrator)
 {
 }