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; }
public Employee(int id, string firstName, string lastName, DepartmentOptions department) : base(id,firstName,lastName) { this.Department = department; }
public Manager(int id, string firstName, string lastName, DepartmentOptions department) : base(id,firstName,lastName, department) { this.Employees = new List<Employee>(); }
public Developer(int id, string firstName, string lastName, DepartmentOptions department) : base(id, firstName, lastName, department) { this.Projects = new List<Project>(); }