예제 #1
0
 public EventSalaryDeductionCreated(Deduction deduction, Salary salary)
 {
     this.Deduction = deduction;
     this.Salary    = salary;
 }
예제 #2
0
 public EventEmployeeSalaryUpdated(Employee employee, Salary previous)
 {
     this.Employee = employee;
     this.Previous = previous;
 }
예제 #3
0
 public EventSalaryDeductionAdded(Salary salary, Deduction deduction)
 {
     this.Salary    = salary;
     this.Deduction = deduction;
 }
예제 #4
0
 public CommandAddSalaryDeduction(Salary salary, Deduction deduction)
 {
     this.Salary    = salary;
     this.Deduction = deduction;
 }
 public CommandAssociateSalaryToEmployee(Salary salary, Employee employee)
 {
     this.Employee = employee;
     this.Salary   = salary;
 }