Commit 54991587 authored by fangxinjiang's avatar fangxinjiang

基础档案新增字段及必填调整

parent 5ec19a55
......@@ -64,6 +64,17 @@ public class TEmpContactInfo extends BaseEntity {
@ExcelProperty("姓名")
@Schema(description = "姓名")
private String empName;
/**
* 身份证
*/
@ExcelAttribute(name = "身份证", isNotEmpty = false, errorInfo = "身份证不能为空", maxLength = 20)
@NotBlank(message = "身份证不能为空")
@Length(max = 20, message = "身份证不能超过20个字符")
@ExcelProperty("身份证")
@Schema(description = "身份证")
private String empIdcard;
/**
* 与本人关系
*/
......
......@@ -54,6 +54,17 @@ public class TEmpContactInfoVo extends RowIndex implements Serializable {
@Schema(description = "empId")
@ExcelProperty("empId")
private String empId;
/**
* 身份证
*/
@ExcelAttribute(name = "身份证", isNotEmpty = false, errorInfo = "身份证不能为空", maxLength = 20)
@NotBlank(message = "身份证不能为空")
@Length(max = 20, message = "身份证不能超过20个字符")
@ExcelProperty("身份证")
@Schema(description = "身份证")
private String empIdcard;
/**
* 姓名
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment