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