| | |
| | | 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> |
| | |
| | | * @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 Integer id; |
| | | private Long id; |
| | | |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | private LocalDateTime createTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 发生时间 |
| | | */ |
| | | @Excel(name = "发生时间",dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenTime; |
| | | |
| | | /** |
| | | * 秘密信息类别 |
| | | */ |
| | | private Integer type; |
| | | @Excel(name = "类别") |
| | | private String type; |
| | | |
| | | /** |
| | | * 账号(含理财收益) |
| | | */ |
| | | @Excel(name = "账号") |
| | | private String accNo; |
| | | |
| | | /** |
| | | * 有效期 |
| | | */ |
| | | private LocalDateTime validityDate; |
| | | @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; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | @TableField(exist = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenStartTime; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | @TableField(exist = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenEndTime; |
| | | |
| | | public LocalDateTime getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(LocalDateTime createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getAccNo() { |
| | | return accNo; |
| | | } |
| | | |
| | | public void setAccNo(String accNo) { |
| | | this.accNo = accNo; |
| | | } |
| | | |
| | | public LocalDateTime getValidityDate() { |
| | | return validityDate; |
| | | } |
| | | |
| | | public void setValidityDate(LocalDateTime validityDate) { |
| | | this.validityDate = validityDate; |
| | | } |
| | | |
| | | public String getPassword() { |
| | | return password; |
| | | } |
| | | |
| | | public void setPassword(String password) { |
| | | this.password = password; |
| | | } |
| | | |
| | | public Integer getIsFinger() { |
| | | return isFinger; |
| | | } |
| | | |
| | | public void setIsFinger(Integer isFinger) { |
| | | this.isFinger = isFinger; |
| | | } |
| | | |
| | | public Integer getIsFace() { |
| | | return isFace; |
| | | } |
| | | |
| | | public void setIsFace(Integer isFace) { |
| | | this.isFace = isFace; |
| | | } |
| | | |
| | | public Integer getIsPrivate() { |
| | | return isPrivate; |
| | | } |
| | | |
| | | public void setIsPrivate(Integer isPrivate) { |
| | | this.isPrivate = isPrivate; |
| | | } |
| | | |
| | | public String getLocation() { |
| | | return location; |
| | | } |
| | | |
| | | public void setLocation(String location) { |
| | | this.location = location; |
| | | } |
| | | |
| | | public String getRemark() { |
| | | return remark; |
| | | } |
| | | |
| | | public void setRemark(String remark) { |
| | | this.remark = remark; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZSecret{" + |
| | | "id=" + id + |
| | | ", createTime=" + createTime + |
| | | ", type=" + type + |
| | | ", accNo=" + accNo + |
| | | ", validityDate=" + validityDate + |
| | | ", password=" + password + |
| | | ", isFinger=" + isFinger + |
| | | ", isFace=" + isFace + |
| | | ", isPrivate=" + isPrivate + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |