|
@@ -29,17 +29,18 @@ public class UserRespVO{
|
|
|
@ExcelProperty("用户昵称")
|
|
|
private String nickname;
|
|
|
|
|
|
- @Schema(description = "备注", example = "我是一个用户")
|
|
|
- private String remark;
|
|
|
+ @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
|
|
|
+ @ExcelProperty(value = "用户性别", converter = DictConvert.class)
|
|
|
+ @DictFormat(DictTypeConstants.USER_SEX)
|
|
|
+ private Integer sex;
|
|
|
|
|
|
- @Schema(description = "部门ID", example = "我是一个用户")
|
|
|
- private Long deptId;
|
|
|
- @Schema(description = "部门名称", example = "IT 部")
|
|
|
- @ExcelProperty("部门名称")
|
|
|
- private String deptName;
|
|
|
+ @Schema(description = "年级")
|
|
|
+ @ExcelProperty("年级")
|
|
|
+ private String grade;
|
|
|
|
|
|
- @Schema(description = "岗位编号数组", example = "1")
|
|
|
- private Set<Long> postIds;
|
|
|
+ @Schema(description = "用户学号")
|
|
|
+ @ExcelProperty("学号")
|
|
|
+ private String userNumber;
|
|
|
|
|
|
@Schema(description = "用户邮箱", example = "yudao@iocoder.cn")
|
|
|
@ExcelProperty("用户邮箱")
|
|
@@ -49,10 +50,42 @@ public class UserRespVO{
|
|
|
@ExcelProperty("手机号码")
|
|
|
private String mobile;
|
|
|
|
|
|
- @Schema(description = "用户性别,参见 SexEnum 枚举类", example = "1")
|
|
|
- @ExcelProperty(value = "用户性别", converter = DictConvert.class)
|
|
|
- @DictFormat(DictTypeConstants.USER_SEX)
|
|
|
- private Integer sex;
|
|
|
+ @Schema(description = "用户类型")
|
|
|
+ @ExcelProperty("用户类型")
|
|
|
+ private String userType;
|
|
|
+
|
|
|
+ @Schema(description = "部门名称", example = "IT 部")
|
|
|
+ @ExcelProperty("工作间名称")
|
|
|
+ private String deptName;
|
|
|
+
|
|
|
+ @Schema(description = "导师名称")
|
|
|
+ @ExcelProperty("导师名称")
|
|
|
+ private String supervisor;
|
|
|
+
|
|
|
+ @Schema(description = "导师电话")
|
|
|
+ @ExcelProperty("导师电话")
|
|
|
+ private String supervisorMobile;
|
|
|
+
|
|
|
+ @Schema(description = "工作地点")
|
|
|
+ @ExcelProperty("工作地点")
|
|
|
+ private String workPlace;
|
|
|
+
|
|
|
+ @Schema(description = "照片", example = "url")
|
|
|
+// @ExcelProperty("照片")
|
|
|
+ private String photoUrl;
|
|
|
+
|
|
|
+ @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
|
|
|
+ @ExcelProperty("创建时间")
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+ @Schema(description = "备注", example = "我是一个用户")
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ @Schema(description = "部门ID", example = "我是一个用户")
|
|
|
+ private Long deptId;
|
|
|
+
|
|
|
+ @Schema(description = "岗位编号数组", example = "1")
|
|
|
+ private Set<Long> postIds;
|
|
|
|
|
|
@Schema(description = "用户头像", example = "https://www.iocoder.cn/xxx.png")
|
|
|
private String avatar;
|
|
@@ -63,37 +96,14 @@ public class UserRespVO{
|
|
|
private Integer status;
|
|
|
|
|
|
@Schema(description = "最后登录 IP", requiredMode = Schema.RequiredMode.REQUIRED, example = "192.168.1.1")
|
|
|
- @ExcelProperty("最后登录IP")
|
|
|
+// @ExcelProperty("最后登录IP")
|
|
|
private String loginIp;
|
|
|
|
|
|
@Schema(description = "最后登录时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
|
|
|
- @ExcelProperty("最后登录时间")
|
|
|
+// @ExcelProperty("最后登录时间")
|
|
|
private LocalDateTime loginDate;
|
|
|
|
|
|
- @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "时间戳格式")
|
|
|
- private LocalDateTime createTime;
|
|
|
-
|
|
|
//
|
|
|
- @Schema(description = "照片", example = "url")
|
|
|
- private String photoUrl;
|
|
|
-
|
|
|
- @Schema(description = "用户学号")
|
|
|
- private String userNumber;
|
|
|
-
|
|
|
- @Schema(description = "导师名称")
|
|
|
- private String supervisor;
|
|
|
-
|
|
|
- @Schema(description = "导师电话")
|
|
|
- private String supervisorMobile;
|
|
|
-
|
|
|
- @Schema(description = "工作地点")
|
|
|
- private String workPlace;
|
|
|
-
|
|
|
- @Schema(description = "年级")
|
|
|
- private String grade;
|
|
|
-
|
|
|
- @Schema(description = "用户类型")
|
|
|
- private String userType;
|
|
|
|
|
|
@Schema(description = "用户照片是否存在")
|
|
|
private Long photoIsExist;
|