linzhijie
2021-03-26 af8d29a4affd04da30eba76b5a6ef96ece6264e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.ots.project.exam.listener;
 
import com.ots.project.exam.domain.UserEventLog;
import org.springframework.context.ApplicationEvent;
 
public class UserEvent extends ApplicationEvent {
 
    private final UserEventLog userEventLog;
 
    public UserEvent(final UserEventLog userEventLog) {
        super(userEventLog);
        this.userEventLog = userEventLog;
    }
 
    public UserEventLog getUserEventLog() {
        return userEventLog;
    }
}