From 338f2f5afc7762dabf2409f296d5d023462ed4b5 Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期四, 28 八月 2025 17:18:25 +0800 Subject: [PATCH] 部分新功能 --- multi-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/multi-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java b/multi-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java index b23557b..b8c16f3 100644 --- a/multi-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java +++ b/multi-common/src/main/java/com/gkhy/exam/common/domain/entity/SysUser.java @@ -16,6 +16,7 @@ import java.time.LocalDate; import java.time.LocalDateTime; import java.util.List; +import java.util.Set; import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL; @@ -72,13 +73,13 @@ @TableField("age") private Integer age; - @ApiModelProperty(value = "人员类别1技术2管理",required = true) - @NotNull(message = "人员类别1技术2管理") + @ApiModelProperty(value = "人员类别1技术2管理3行政4特殊作业",required = true) + @NotNull(message = "人员类别1技术2管理3行政") @TableField("person_type") private Integer personType; @NotBlank(message = "职称不能为空") - @ApiModelProperty("职称") + @ApiModelProperty("职称1、初级2中级3高级") @TableField("positional") private String positional; @@ -133,8 +134,9 @@ @TableField("duty") private String duty; - @ApiModelProperty("专业") + @ApiModelProperty(value = "专业",required = true) @TableField("post") + @NotBlank(message = "专业不能为空") private String post; @ApiModelProperty("身份证号") @@ -148,6 +150,15 @@ @ApiModelProperty("离职时间") @TableField("resign_time") private LocalDate resignTime; + + @ApiModelProperty(value = "学历1、高中及以下2、专科3、本科4、硕士5、博士及以上",required = true) + @NotNull(message = "学历不能为空") + @TableField("qualification") + private Integer qualification; + + @ApiModelProperty("特殊作业证书") + @TableField("operation_certificate") + private String operationCertificate; @ApiModelProperty("公司名称") @TableField(exist = false) @@ -164,4 +175,8 @@ @TableField(exist = false) private List<SysRole> roles; +// @TableField(exist = false) +// @ApiModelProperty("角色ids") +// private Set<Long> roleIds; + } -- Gitblit v1.9.2