1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
| 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;
| }
|
| }
|
|