提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.system.controller.admin.socail.vo.user; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.time.LocalDateTime; |
|
7 |
|
|
8 |
@Schema(description = "管理后台 - 社交用户 Response VO") |
|
9 |
@Data |
|
10 |
public class SocialUserRespVO { |
|
11 |
|
|
12 |
@Schema(description = "主键(自增策略)", requiredMode = Schema.RequiredMode.REQUIRED, example = "14569") |
|
13 |
private Long id; |
|
14 |
|
|
15 |
@Schema(description = "社交平台的类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "30") |
|
16 |
private Integer type; |
|
17 |
|
|
18 |
@Schema(description = "社交 openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "666") |
|
19 |
private String openid; |
|
20 |
|
|
21 |
@Schema(description = "社交 token", requiredMode = Schema.RequiredMode.REQUIRED, example = "666") |
|
22 |
private String token; |
|
23 |
|
|
24 |
@Schema(description = "原始 Token 数据,一般是 JSON 格式", requiredMode = Schema.RequiredMode.REQUIRED, example = "{}") |
|
25 |
private String rawTokenInfo; |
|
26 |
|
|
27 |
@Schema(description = "用户昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "iailab") |
|
28 |
private String nickname; |
|
29 |
|
|
30 |
@Schema(description = "用户头像", example = "https://www.baidu.com/xxx.png") |
|
31 |
private String avatar; |
|
32 |
|
|
33 |
@Schema(description = "原始用户数据,一般是 JSON 格式", requiredMode = Schema.RequiredMode.REQUIRED, example = "{}") |
|
34 |
private String rawUserInfo; |
|
35 |
|
|
36 |
@Schema(description = "最后一次的认证 code", requiredMode = Schema.RequiredMode.REQUIRED, example = "666666") |
|
37 |
private String code; |
|
38 |
|
|
39 |
@Schema(description = "最后一次的认证 state", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456") |
|
40 |
private String state; |
|
41 |
|
|
42 |
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
43 |
private LocalDateTime createTime; |
|
44 |
|
|
45 |
@Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED) |
|
46 |
private LocalDateTime updateTime; |
|
47 |
|
|
48 |
} |