public Developer(string id, string firstName, string lastName, decimal salary, Department department, ISet<Project> projects = null) : base(id, firstName, lastName, salary, department) { this.Projects = projects ?? new HashSet<Project>(); }
public Manager(string id, string firstName, string lastName, decimal salary, Department department, ISet<Employee> employees = null) : base(id, firstName, lastName, salary, department) { this.Employees = employees ?? new HashSet<Employee>(); }
public SalesEmployee(string id, string firstName, string lastName, decimal salary, Department department, ISet<Sale> sales = null) : base(id, firstName, lastName, salary, department) { this.Sales = sales ?? new HashSet<Sale>(); }
protected Employee(string id, string firstName, string lastName, decimal salary, Department department) : base(id, firstName, lastName) { this.Salary = salary; this.Department = department; }