Esempio n. 1
0
 public Worker(string fullName, string identifier) : base(fullName, identifier)
 {
     Info        = new HumanInfo();
     Info.Salary = 100;
     Info.Money  = 100;
     Info.Hours  = WorkingHours.FullWeek;
 }
Esempio n. 2
0
 public Worker(string fullName, string identifier, bool isMale, DateTime dateOfBirth, Human mother, Human father, int salary, WorkingHours hours) : base(fullName, identifier, isMale, dateOfBirth, mother, father)
 {
     Info        = new HumanInfo();
     Info.Salary = salary;
     Info.Hours  = hours;
     Info.Money  = 100;
 }
Esempio n. 3
0
 public Worker() : base()
 {
     Info        = new HumanInfo();
     Info.Salary = 100;
     Info.Money  = 100;
     Info.Hours  = WorkingHours.FullWeek;
 }