コード例 #1
0
ファイル: Employee.cs プロジェクト: MrPoP/FABSolution
 public Employee(string _name, UserFlags _flag)
 {
     id     = new Random().Next(-1, int.MaxValue);
     name   = _name;
     flag   = _flag;
     shifts = new PeriodShifts(id);
 }
コード例 #2
0
ファイル: Employee.cs プロジェクト: MrPoP/FABSolution
 public Employee(int _id, string _name, UserFlags _flag, HealthCertificate _healthcertificate)
 {
     id   = _id;
     name = _name;
     flag = _flag;
     healthcertificate = _healthcertificate;
     shifts            = new PeriodShifts(id);
 }
コード例 #3
0
ファイル: Employee.cs プロジェクト: MrPoP/FABSolution
 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);
 }
コード例 #4
0
ファイル: Employee.cs プロジェクト: MrPoP/FABSolution
 public void SetShifts(PeriodShifts _shifts)
 {
     this.shifts = _shifts;
 }