Commit 5db3136a authored by hongguangwu's avatar hongguangwu

LocalDate

parent c3309aa0
......@@ -27,6 +27,7 @@ import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Max;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
......@@ -79,13 +80,13 @@ public class TEmployeeInfo extends BaseEntity {
* 身份证有效期起
*/
@Schema(description = "身份证有效期起")
private LocalDateTime validityStart;
private LocalDate validityStart;
/**
* 身份证有效期止
*/
@Schema(description = "身份证有效期止")
private LocalDateTime validityEnd;
private LocalDate validityEnd;
/**
* 性别
......@@ -97,7 +98,7 @@ public class TEmployeeInfo extends BaseEntity {
* 出生日期
*/
@Schema(description = "出生日期")
private LocalDateTime empBirthday;
private LocalDate empBirthday;
/**
* 年龄
......@@ -209,13 +210,13 @@ public class TEmployeeInfo extends BaseEntity {
* 入学时间
*/
@Schema(description = "入学时间")
private LocalDateTime admissionDate;
private LocalDate admissionDate;
/**
* 毕业时间
*/
@Schema(description = "毕业时间")
private LocalDateTime gradutionDate;
private LocalDate 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