linzhijie
2021-03-28 345eab350d41d832c040d63011a178689696b650
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;
    }
}