| | |
| | | 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-12 |
| | | */ |
| | | @TableName("zf_collection") |
| | | @Data |
| | | @ToString |
| | | public class ZfCollection implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | /** |
| | | * 获得时间 |
| | | */ |
| | | private LocalDateTime getTime; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "创建时间", dateFormat = "yyyy-MM-dd") |
| | | private Date getTime; |
| | | |
| | | /** |
| | | * 类别 |
| | | */ |
| | | @Excel(name = "类别") |
| | | private String type; |
| | | |
| | | /** |
| | | * 名字 |
| | | */ |
| | | @Excel(name = "名字") |
| | | private String name; |
| | | |
| | | /** |
| | | * 来源 |
| | | */ |
| | | @Excel(name = "来源") |
| | | private String source; |
| | | |
| | | /** |
| | | * 拥有者 |
| | | */ |
| | | @Excel(name = "拥有者") |
| | | private String owner; |
| | | |
| | | /** |
| | | * 价值 |
| | | */ |
| | | private Double price; |
| | | @Excel(name = "价值") |
| | | private String price; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | @Excel(name = "存放位置") |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注") |
| | | private String remark; |
| | | |
| | | /** |
| | | * 电子文件路径 |
| | | */ |
| | | private String url; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | /** |
| | | * 所属家庭id |
| | | */ |
| | | @Excel(name = "所属家庭编号") |
| | | private String familyId; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | /** |
| | | * 是否是本家庭的数据(0:不是,1:是) |
| | | */ |
| | | @TableField(exist = false) |
| | | private Integer ownData = 0; |
| | | |
| | | public LocalDateTime getGetTime() { |
| | | return getTime; |
| | | } |
| | | |
| | | public void setGetTime(LocalDateTime getTime) { |
| | | this.getTime = getTime; |
| | | } |
| | | |
| | | public String getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(String type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getSource() { |
| | | return source; |
| | | } |
| | | |
| | | public void setSource(String source) { |
| | | this.source = source; |
| | | } |
| | | |
| | | public String getOwner() { |
| | | return owner; |
| | | } |
| | | |
| | | public void setOwner(String owner) { |
| | | this.owner = owner; |
| | | } |
| | | |
| | | public Double getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(Double price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | 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 "ZfCollection{" + |
| | | "id=" + id + |
| | | ", getTime=" + getTime + |
| | | ", type=" + type + |
| | | ", name=" + name + |
| | | ", source=" + source + |
| | | ", owner=" + owner + |
| | | ", price=" + price + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | } |