huangzhen
2023-09-15 ea09629d8857e0afa329858f72cf1c93e25b813c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package com.gkhy.exam.coalmine.entity;
 
import java.time.LocalDateTime;
import java.io.Serializable;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Id;
 
@Data
@TableName("cm_staff")
public class CmStaff implements Serializable {
 
    @Id
    @TableId(type = IdType.AUTO)
    private Long id;
 
    //姓名    
    private String name;
 
    //性别    
    private String sex;
 
    //民族    
    private String nationCode;
 
    //身份证    
    private String code;
 
    //手机号    
    private String mobilePhone;
 
    //最高学历    
    private String eduLevel;
 
    //证件照    
    private Long photoAttachment;
 
    //删除标志(0代表存在 2代表删除)    
    private Byte delFlag;
 
    /** 创建者 */
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
 
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    /** 更新者 */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;
 
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
}