linzhijie
2021-03-11 93af1c6ffb9ae0e894689ad3a37b548e57d54cff
src/main/java/com/ots/project/exam/listener/UserEvent.java
@@ -1,12 +1,17 @@
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;
    }