public Employee(string fname, string lname, DateTime dateBirth, bool sex, Accounting.Doctors specialization, double hpw /*Hours p week*/) : base(fname, lname, dateBirth, sex) { _hoursPWeek = hpw; _specialization = specialization; _salary = hpw * (int)specialization; }
public Doctor(string fname, string lname, DateTime dateBirth, bool sex, Accounting.Doctors s, WorkTime[] wTime) : base(fname, lname, dateBirth, sex, s, Accounting.CalcHours(wTime)) { _workTime = wTime; }
public Employee(string fname, string lname, DateTime dateBirth, bool sex, Accounting.Doctors specialization) : base(fname, lname, dateBirth, sex) { _specialization = specialization; }