Commit 8f90990e authored by hongguangwu's avatar hongguangwu

优化人员档案

parent 42ef22f5
......@@ -16,6 +16,7 @@
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants;
......@@ -84,6 +85,7 @@ public class TEmployeeInfo extends BaseEntity {
/**
* 身份证有效期起
*/
@DateTimeFormat("yyyy-MM-dd")
@Schema(description = "身份证有效期起")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date validityStart;
......@@ -91,6 +93,7 @@ public class TEmployeeInfo extends BaseEntity {
/**
* 身份证有效期止
*/
@DateTimeFormat("yyyy-MM-dd")
@Schema(description = "身份证有效期止")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date validityEnd;
......@@ -104,6 +107,7 @@ public class TEmployeeInfo extends BaseEntity {
/**
* 出生日期
*/
@DateTimeFormat("yyyy-MM-dd")
@Schema(description = "出生日期")
private Date empBirthday;
......@@ -224,6 +228,7 @@ public class TEmployeeInfo extends BaseEntity {
/**
* 入学时间
*/
@DateTimeFormat("yyyy-MM-dd")
@Schema(description = "入学时间")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date admissionDate;
......@@ -231,6 +236,7 @@ public class TEmployeeInfo extends BaseEntity {
/**
* 毕业时间
*/
@DateTimeFormat("yyyy-MM-dd")
@Schema(description = "毕业时间")
@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date gradutionDate;
......
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