public EventSalaryDeductionCreated(Deduction deduction, Salary salary) { this.Deduction = deduction; this.Salary = salary; }
public EventEmployeeSalaryUpdated(Employee employee, Salary previous) { this.Employee = employee; this.Previous = previous; }
public EventSalaryDeductionAdded(Salary salary, Deduction deduction) { this.Salary = salary; this.Deduction = deduction; }
public CommandAddSalaryDeduction(Salary salary, Deduction deduction) { this.Salary = salary; this.Deduction = deduction; }
public CommandAssociateSalaryToEmployee(Salary salary, Employee employee) { this.Employee = employee; this.Salary = salary; }