mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
Optimized code
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
package com.cfive.pinnacle.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 员工
|
||||
@@ -59,7 +58,7 @@ public class Staff implements Serializable {
|
||||
/**
|
||||
* 生日
|
||||
*/
|
||||
@TableField(value = "birth",updateStrategy = FieldStrategy.IGNORED)
|
||||
@TableField(value = "birth", updateStrategy = FieldStrategy.IGNORED)
|
||||
private LocalDate birth;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user