package com.mindskip.xzs.event;
|
|
import com.mindskip.xzs.domain.UserEventLog;
|
import org.springframework.context.ApplicationEvent;
|
|
/**
|
* @version 2.2.0
|
* @description: 用户日志事件
|
* Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
|
* @date 2021 /9/7 9:45
|
*/
|
public class UserEvent extends ApplicationEvent {
|
|
private final UserEventLog userEventLog;
|
|
/**
|
* Instantiates a new User event.
|
*
|
* @param userEventLog the user event log
|
*/
|
public UserEvent(final UserEventLog userEventLog) {
|
super(userEventLog);
|
this.userEventLog = userEventLog;
|
}
|
|
/**
|
* Gets user event log.
|
*
|
* @return the user event log
|
*/
|
public UserEventLog getUserEventLog() {
|
return userEventLog;
|
}
|
}
|