package com.mindskip.xzs.event; import com.mindskip.xzs.domain.User; import org.springframework.context.ApplicationEvent; /** * @version 2.2.0 * @description: 注册完成事件 * Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司 * @date 2021 /9/7 9:45 */ public class OnRegistrationCompleteEvent extends ApplicationEvent { private final User user; /** * Instantiates a new On registration complete event. * * @param user the user */ public OnRegistrationCompleteEvent(final User user) { super(user); this.user = user; } /** * Gets user. * * @return the user */ public User getUser() { return user; } }