feige
2024-08-22 5e2ebcceae4bc34b46370f2c10110cd72e7f4fba
zhang-content/src/main/java/com/ruoyi/domain/ZProperty.java
@@ -1,12 +1,15 @@
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>
@@ -23,18 +26,27 @@
    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;
    /**
     * 财产类别
     */
    @Excel(name = "财产类别",readConverterExp = "1=工资,2=存款,3=理财,4=实业,5=房产,6=证券,7=股票,8=债券,9=期货,10=人身,11=财产保险,12=黄金,13=邮票,14=古玩")
    private Integer type;
    @Excel(name = "财产类别")
    private String type;
    /**
     * 收支名称
@@ -46,7 +58,7 @@
     * 金额
     */
    @Excel(name = "金额")
    private Double price;
    private String price;
    /**
     * 期限
@@ -57,6 +69,7 @@
    /**
     * 变更或注销
     */
    @Excel(name = "变更或注销或购买")
    private String isChange;
    /**
@@ -79,8 +92,19 @@
    private String url;
    @Excel(name = "是否注销",readConverterExp = "0=正常,1=已注销")
    @Excel(name = "是否注销(填是或否)",readConverterExp = "0=否,1=是")
    private Integer status;
    @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;
}