| | |
| | | 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 java.io.Serializable; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2023-03-14 |
| | | */ |
| | | @TableName("z_property") |
| | | @Data |
| | | public class ZProperty implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 本人id |
| | | */ |
| | | private Integer userId; |
| | | private Long userId; |
| | | |
| | | |
| | | @Excel(name = "日期",dateFormat = "yyyy-MM-dd") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenTime; |
| | | |
| | | |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date createTime; |
| | | |
| | | /** |
| | | * 财产类别 |
| | | */ |
| | | private Integer type; |
| | | @Excel(name = "财产类别") |
| | | private String type; |
| | | |
| | | /** |
| | | * 收支名称 |
| | | */ |
| | | @Excel(name = "收支名称") |
| | | private String incomeName; |
| | | |
| | | /** |
| | | * 金额 |
| | | */ |
| | | private Double price; |
| | | @Excel(name = "金额") |
| | | private String price; |
| | | |
| | | /** |
| | | * 期限 |
| | | */ |
| | | @Excel(name = "期限") |
| | | private String timeLimit; |
| | | |
| | | /** |
| | | * 变更或注销 |
| | | */ |
| | | @Excel(name = "变更或注销或购买") |
| | | private String isChange; |
| | | |
| | | /** |
| | | * 产权 |
| | | */ |
| | | @Excel(name = "产权") |
| | | private String propertyRight; |
| | | |
| | | /** |
| | | * 存放位置 |
| | | */ |
| | | @Excel(name = "存放位置") |
| | | private String location; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @Excel(name = "备注") |
| | | private String remark; |
| | | |
| | | private String url; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | @Excel(name = "是否注销(填是或否)",readConverterExp = "0=否,1=是") |
| | | private Integer status; |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | @TableField(exist = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenStartTime; |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | @TableField(exist = false) |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | private Date happenEndTime; |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public Integer getType() { |
| | | return type; |
| | | } |
| | | |
| | | public void setType(Integer type) { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getIncomeName() { |
| | | return incomeName; |
| | | } |
| | | |
| | | public void setIncomeName(String incomeName) { |
| | | this.incomeName = incomeName; |
| | | } |
| | | |
| | | public Double getPrice() { |
| | | return price; |
| | | } |
| | | |
| | | public void setPrice(Double price) { |
| | | this.price = price; |
| | | } |
| | | |
| | | public String getTimeLimit() { |
| | | return timeLimit; |
| | | } |
| | | |
| | | public void setTimeLimit(String timeLimit) { |
| | | this.timeLimit = timeLimit; |
| | | } |
| | | |
| | | public String getIsChange() { |
| | | return isChange; |
| | | } |
| | | |
| | | public void setIsChange(String isChange) { |
| | | this.isChange = isChange; |
| | | } |
| | | |
| | | public String getPropertyRight() { |
| | | return propertyRight; |
| | | } |
| | | |
| | | public void setPropertyRight(String propertyRight) { |
| | | this.propertyRight = propertyRight; |
| | | } |
| | | |
| | | 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 "ZProperty{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", type=" + type + |
| | | ", incomeName=" + incomeName + |
| | | ", price=" + price + |
| | | ", timeLimit=" + timeLimit + |
| | | ", isChange=" + isChange + |
| | | ", propertyRight=" + propertyRight + |
| | | ", location=" + location + |
| | | ", remark=" + remark + |
| | | "}"; |
| | | } |
| | | /** |
| | | * 分享人 |
| | | */ |
| | | private Integer shareId; |
| | | } |