Example #1
0
 public SalesEmployee(int id, string firstName, string lastName, DepartmentOptions department)
     : base(id,firstName,lastName, department)
 {
     this.Sales = new List<Sale>();
     this.Salary = this.Sales.Count * 200;
 }
Example #2
0
 public Employee(int id, string firstName, string lastName, DepartmentOptions department)
     : base(id,firstName,lastName)
 {
     this.Department = department;
 }
Example #3
0
 public Manager(int id, string firstName, string lastName, DepartmentOptions department)
     : base(id,firstName,lastName, department)
 {
     this.Employees = new List<Employee>();
 }
Example #4
0
 public Developer(int id, string firstName, string lastName, DepartmentOptions department)
     : base(id, firstName, lastName, department)
 {
     this.Projects = new List<Project>();
 }