拆分模块
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.ecep.contract.controller;
|
||||
|
||||
import org.springframework.context.ApplicationEvent;
|
||||
|
||||
import com.ecep.contract.vm.CurrentEmployee;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public class CurrentEmployeeInitialedEvent extends ApplicationEvent {
|
||||
private final CurrentEmployee employee;
|
||||
|
||||
public CurrentEmployeeInitialedEvent(CurrentEmployee employee) {
|
||||
super(employee);
|
||||
this.employee = employee;
|
||||
}
|
||||
|
||||
@Override
|
||||
public CurrentEmployee getSource() {
|
||||
return employee;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user