package com.ruoyi.domain;
|
|
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 com.ruoyi.common.annotation.Excel;
|
import lombok.Data;
|
import lombok.ToString;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 秘密记录表
|
* </p>
|
*
|
* @author ojq
|
* @since 2023-03-14
|
*/
|
@TableName("z_secret")
|
@Data
|
@ToString
|
public class ZSecret implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
private Long userId;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date createTime;
|
|
/**
|
* 发生时间
|
*/
|
@Excel(name = "发生时间",dateFormat = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date happenTime;
|
|
/**
|
* 秘密信息类别
|
*/
|
@Excel(name = "类别")
|
private String type;
|
|
/**
|
* 账号(含理财收益)
|
*/
|
@Excel(name = "账号")
|
private String accNo;
|
|
/**
|
* 有效期
|
*/
|
@Excel(name = "有效期",dateFormat = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date validityDate;
|
|
/**
|
* 密码(存折和卡用逗号隔开)
|
*/
|
@Excel(name = "密码")
|
private String password;
|
|
/**
|
* 是否开启指纹,0:否、1:是
|
*/
|
@Excel(name = "是否开启指纹(是/否)",readConverterExp = "0=否,1=是")
|
private Integer isFinger;
|
|
/**
|
* 是否开启人脸识别,0:否、1:是
|
*/
|
@Excel(name = "是否开启人脸识别(是/否)",readConverterExp = "0=否,1=是")
|
private Integer isFace;
|
|
/**
|
* 是否私有,0:否、1:是
|
*/
|
@Excel(name = "是否私有(是/否)",readConverterExp = "0=否,1=是")
|
private Integer isPrivate;
|
|
/**
|
* 存放位置
|
*/
|
@Excel(name = "存放位置")
|
private String location;
|
|
/**
|
* 备注信息
|
*/
|
@Excel(name = "备注信息")
|
private String remark;
|
|
/**
|
* 电子文件路径
|
*/
|
private String url;
|
|
@TableField(exist = false)
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date happenStartTime;
|
|
@TableField(exist = false)
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private Date happenEndTime;
|
|
/**
|
* 分享人
|
*/
|
private Integer shareId;
|
}
|