package org.springblade.modules.securityapply.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
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
|
* @since 2020-03-03
|
*/
|
@Data
|
@TableName("sys_security_apply")
|
public class SecurityApply implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 用户id
|
*/
|
private Long userId;
|
|
/**
|
* 保安证编号
|
*/
|
private String number;
|
|
/**
|
* 保安证图片 url
|
*/
|
private String url;
|
|
/**
|
* 申请理由
|
*/
|
private String applyReason;
|
|
|
/**
|
* 申请人id
|
*/
|
private Long createUser;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 审核状态 1:通过 2:不通过 3:待审核
|
*/
|
private Integer auditStatus;
|
|
/**
|
* 审核明细
|
*/
|
private String auditDetail;
|
|
/**
|
* 审核时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date auditTime;
|
|
}
|