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
73770550
Commit
73770550
authored
Jul 21, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
远程接口,时间转化失败,加上注解
parent
fbc7479d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
TEmployeeInfo.java
...ifu/cloud/plus/v1/yifu/archives/entity/TEmployeeInfo.java
+7
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmployeeInfo.java
View file @
73770550
...
...
@@ -18,6 +18,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
...
...
@@ -88,6 +89,7 @@ public class TEmployeeInfo extends BaseEntity {
@DateTimeFormat
(
"yyyy-MM-dd"
)
@Schema
(
description
=
"身份证有效期起"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
validityStart
;
/**
...
...
@@ -96,6 +98,7 @@ public class TEmployeeInfo extends BaseEntity {
@DateTimeFormat
(
"yyyy-MM-dd"
)
@Schema
(
description
=
"身份证有效期止"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
validityEnd
;
/**
...
...
@@ -109,6 +112,7 @@ public class TEmployeeInfo extends BaseEntity {
*/
@DateTimeFormat
(
"yyyy-MM-dd"
)
@Schema
(
description
=
"出生日期"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
empBirthday
;
/**
...
...
@@ -231,6 +235,7 @@ public class TEmployeeInfo extends BaseEntity {
@DateTimeFormat
(
"yyyy-MM-dd"
)
@Schema
(
description
=
"入学时间"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
admissionDate
;
/**
...
...
@@ -239,6 +244,7 @@ public class TEmployeeInfo extends BaseEntity {
@DateTimeFormat
(
"yyyy-MM-dd"
)
@Schema
(
description
=
"毕业时间"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
gradutionDate
;
/**
...
...
@@ -327,6 +333,7 @@ public class TEmployeeInfo extends BaseEntity {
*/
@Schema
(
description
=
"减档时间"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
leaveTime
;
/**
...
...
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