|
|
package com.glxp.api.entity.sup;
|
|
|
|
|
|
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 java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
* 资质证书信息与路径表
|
|
|
*/
|
|
|
@Data
|
|
|
@TableName(value = "user_cert")
|
|
|
public class UserCertEntity implements Serializable {
|
|
|
@TableId(value = "id", type = IdType.INPUT)
|
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
|
* 业ID外键
|
|
|
*/
|
|
|
@TableField(value = "businessId")
|
|
|
private Long businessId;
|
|
|
|
|
|
/**
|
|
|
* 证书名称
|
|
|
*/
|
|
|
@TableField(value = "`name`")
|
|
|
private String name;
|
|
|
|
|
|
/**
|
|
|
* 证书编号
|
|
|
*/
|
|
|
@TableField(value = "code")
|
|
|
private String code;
|
|
|
|
|
|
@TableField(value = "filePath")
|
|
|
private String filePath;
|
|
|
|
|
|
/**
|
|
|
* 有效期
|
|
|
*/
|
|
|
@TableField(value = "validDate")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date validDate;
|
|
|
|
|
|
/**
|
|
|
* 失效期
|
|
|
*/
|
|
|
@TableField(value = "expireDate")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date expireDate;
|
|
|
|
|
|
/**
|
|
|
* 审核状态
|
|
|
*/
|
|
|
@TableField(value = "checkStatus")
|
|
|
private String checkStatus;
|
|
|
|
|
|
/**
|
|
|
* 审核说明
|
|
|
*/
|
|
|
@TableField(value = "checkComment")
|
|
|
private String checkComment;
|
|
|
|
|
|
/**
|
|
|
* 0:启用,1:禁用
|
|
|
*/
|
|
|
@TableField(value = "`status`")
|
|
|
private String status;
|
|
|
|
|
|
/**
|
|
|
* 备注
|
|
|
*/
|
|
|
@TableField(value = "remark")
|
|
|
private String remark;
|
|
|
|
|
|
/**
|
|
|
* 创建人
|
|
|
*/
|
|
|
@TableField(value = "`createUser`")
|
|
|
private String createUser;
|
|
|
|
|
|
/**
|
|
|
* 创建时间
|
|
|
*/
|
|
|
@TableField(value = "createTime")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date createTime;
|
|
|
|
|
|
/**
|
|
|
* 更新人
|
|
|
*/
|
|
|
@TableField(value = "updateUser")
|
|
|
private String updateUser;
|
|
|
|
|
|
/**
|
|
|
* 更新时间
|
|
|
*/
|
|
|
@TableField(value = "updateTime")
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date updateTime;
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
private String key;
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
}
|