package org.springblade.modules.securitypaper.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 保安员证管理实体类
|
* @author zhongrj
|
* @time 2021-12-25
|
*/
|
@Data
|
@TableName("sys_security_paper")
|
public class SecurityPaper implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 制证记录主键id,非自增
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Integer id;
|
|
|
/**
|
* 保安证编号
|
*/
|
private String number;
|
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
|
|
/**
|
* 人员姓名
|
*/
|
@TableField("people_name")
|
private String peopleName;
|
|
/**
|
* 人员身份证号码
|
*/
|
@TableField("id_card_no")
|
private String idCardNo;
|
|
|
/**
|
* user_id
|
*/
|
@TableField("user_id")
|
private Long userId;
|
|
/**
|
* 报名id
|
*/
|
@TableField("apply_id")
|
private Long applyId;
|
|
/**
|
* 考试id / 核查申请 id
|
*/
|
@TableField("exam_id")
|
private Long examId;
|
|
/**
|
* 来源 1:考试通过生成 2:核查申请通过插入 3:其他
|
*/
|
private Integer source;
|
}
|