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
| package com.tcm.training.admin.app.auth.vo;
|
| import lombok.Getter;
| import lombok.Setter;
|
| /**
| * APP 登录响应。
| */
| @Getter
| @Setter
| public class AppLoginResponse {
|
| private String token;
| private String tokenType;
| private long expiresIn;
| private AppLoginUserVO user;
|
| public AppLoginResponse() {
| }
|
| /**
| * 使用完整字段构造 APP 登录响应。
| */
| public AppLoginResponse(String token, String tokenType, long expiresIn, AppLoginUserVO user) {
| this.token = token;
| this.tokenType = tokenType;
| this.expiresIn = expiresIn;
| this.user = user;
| }
| }
|
|