public Employee(string _name, UserFlags _flag) { id = new Random().Next(-1, int.MaxValue); name = _name; flag = _flag; shifts = new PeriodShifts(id); }
public Employee(int _id, string _name, UserFlags _flag, HealthCertificate _healthcertificate) { id = _id; name = _name; flag = _flag; healthcertificate = _healthcertificate; shifts = new PeriodShifts(id); }
public Employee(string _name, UserFlags _flag, HealthCertificate _healthcertificate) { id = new Random().Next(-1, int.MaxValue); name = _name; flag = _flag; healthcertificate = _healthcertificate; shifts = new PeriodShifts(id); }
public void SetShifts(PeriodShifts _shifts) { this.shifts = _shifts; }