zqy
2 天以前 5418ea7855d16dcc0169d5ed554f7a23c4b55532
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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 org.springframework.data.annotation.Transient;
 
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
 
/**
 * <p>
 * 家庭收支台账
 * </p>
 *
 * @author ojq
 * @since 2023-03-12
 */
@TableName("zf_economy")
@Data
@ToString
public class ZfEconomy implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    private String fileName;
 
    /**
     * 0:基金、1:台账
     */
    @Excel(name = "收支类型")
    private String type;
 
    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
 
    /**
     * 收入/支出
     */
    @Excel(name = "收入/支出")
    private String price;
 
    /**
     * 用途
     */
    @Excel(name = "用途")
    private String useFor;
 
    /**
     * 使用人
     */
    @Excel(name = "使用人")
    private String usePeople;
 
    /**
     * 0:现金,1:自动划扣
     */
    @Excel(name = "现金/自动划扣")
    private String kind;
 
    /**
     * 余额
     */
    @Excel(name = "余额")
    private String balance;
 
    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;
 
    private String url;
 
    @Excel(name = "所属家庭编号(导入数据时请删除此栏)")
    private Long familyId;
 
    /**
     * 是否是本家庭的数据(0:不是,1:是)
     */
    @TableField(exist = false)
    private Integer ownData = 0;
 
    /**
     * 开始时间
     */
    @TableField(exist = false)
    private Date happenStartTime;
 
    /**
     * 结束时间
     */
    @TableField(exist = false)
    private Date happenEndTime;
 
    /**
     * 发生时间
     */
    @Excel(name = "时间", dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date happenTime;
 
    /**
     * 分享人id
     */
    private Integer shareId;
 
    private String cosKey;
 
    /**
     * 参与者
     */
    private String companion;
 
//    @TableField(exist = false)
//    private Integer year;
}