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; /** *
* 个人财产表 *
* * @author ojq * @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 Long id; /** * 本人id */ 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 = "财产类别") private String type; /** * 收支名称 */ @Excel(name = "收支名称") private String incomeName; /** * 金额 */ @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; @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; }