Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
b75bd5aa
Commit
b75bd5aa
authored
Jun 17, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础档案新增字段及必填调整
parent
b3c47865
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
TEmpContactInfo.java
...u/cloud/plus/v1/yifu/archives/entity/TEmpContactInfo.java
+11
-0
TEmpContactInfoVo.java
...ifu/cloud/plus/v1/yifu/archives/vo/TEmpContactInfoVo.java
+11
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmpContactInfo.java
View file @
b75bd5aa
...
...
@@ -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
;
/**
* 与本人关系
*/
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TEmpContactInfoVo.java
View file @
b75bd5aa
...
...
@@ -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
;
/**
* 姓名
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment