人员相关日期类型

This commit is contained in:
mash 2023-02-01 11:49:53 +08:00
parent 52c04e2208
commit 00f7864d74
1 changed files with 9 additions and 2 deletions

View File

@ -3,6 +3,7 @@ package com.ydool.staff.entity;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ydool.common.base.BaseEntity;
import java.util.Date;
@ -43,6 +44,7 @@ public class Personnel extends BaseEntity {
private String gender;
@ApiModelProperty(value = "出生日期")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date birthday;
@ApiModelProperty(value = "身份证号")
@ -69,7 +71,7 @@ public class Personnel extends BaseEntity {
@ApiModelProperty(value = "录用方式")
private String hireType;
@ApiModelProperty(value = "执业资格证")
@ApiModelProperty(value = "执业资格证")
private String qualification;
@ApiModelProperty(value = "专业技术职称")
@ -97,18 +99,23 @@ public class Personnel extends BaseEntity {
private BigDecimal annualSalary;
@ApiModelProperty(value = "入职时间")
private Date hireDate;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date hiredate;
@ApiModelProperty(value = "退休时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date retirementTime;
@ApiModelProperty(value = "离职时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date resignationTime;
@ApiModelProperty(value = "退休返聘开始时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date txfpStartTime;
@ApiModelProperty(value = "退休返聘结束时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date txfpEndTime;
@ApiModelProperty(value = "人员招聘单号")