package com.gkhy.exam.coalmine.entity;
|
|
import java.time.LocalDate;
|
import java.time.LocalDateTime;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import java.io.Serializable;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.data.annotation.Id;
|
|
@Data
|
@TableName("teacher_manage")
|
public class TeacherManage implements Serializable {
|
|
@Id
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
|
//性别
|
private String sex;
|
|
//身份证
|
private String code;
|
|
//手机号
|
private String mobilePhone;
|
|
//姓名
|
private String name;
|
|
//职称
|
private String jobTitle;
|
|
//最高学历
|
private String eduLevel;
|
|
//过期时间
|
private LocalDate expiredTime;
|
|
//是否为煤矿:0为非,1是
|
private Byte isCm;
|
|
//描述
|
private String description;
|
|
private Long photoAttachment;
|
|
private Long qaAttachment;
|
|
//状态
|
private String status;
|
|
//删除标志(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;
|
|
}
|