提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.auth.vo; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.AllArgsConstructor; |
|
5 |
import lombok.Builder; |
|
6 |
import lombok.Data; |
|
7 |
import lombok.NoArgsConstructor; |
|
8 |
|
|
9 |
import java.time.LocalDateTime; |
|
10 |
|
|
11 |
@Schema(description = "管理后台 - 登录 Response VO") |
|
12 |
@Data |
|
13 |
@NoArgsConstructor |
|
14 |
@AllArgsConstructor |
|
15 |
@Builder |
|
16 |
public class AuthLoginRespVO { |
|
17 |
|
|
18 |
@Schema(description = "用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024") |
|
19 |
private Long userId; |
|
20 |
|
|
21 |
@Schema(description = "访问令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "happy") |
|
22 |
private String accessToken; |
|
23 |
|
|
24 |
@Schema(description = "刷新令牌", requiredMode = Schema.RequiredMode.REQUIRED, example = "nice") |
|
25 |
private String refreshToken; |
|
26 |
|
|
27 |
@Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
28 |
private LocalDateTime expiresTime; |
|
29 |
|
|
30 |
} |