jialh
1 天以前 dd6687b118561100e1677e88a9c2f5842a54c531
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
package com.java110.po.importFee;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * 讼诉情况表实体类
 * 对应表:litigation_info
 */
@Data
@Entity
@Table(name = "litigation_info")
public class LitigationInfo {
 
    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false, updatable = false)
    private Integer id;
 
    /**
     * 送诉日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Column(name = "litigation_date", nullable = false)
    private Date litigationDate;
 
    /**
     * 欠费区间
     */
    @Column(name = "arrears_period", length = 100, nullable = false)
    private String arrearsPeriod;
 
    /**
     * 欠费金额
     */
    @Column(name = "arrears_amount", precision = 10, scale = 2, nullable = false)
    private BigDecimal arrearsAmount;
 
    /**
     * 滞纳金
     */
    @Column(name = "late_fee", precision = 10, scale = 2)
    private BigDecimal lateFee = BigDecimal.ZERO;
 
    /**
     * 受理费
     */
    @Column(name = "acceptance_fee", precision = 10, scale = 2)
    private BigDecimal acceptanceFee = BigDecimal.ZERO;
 
    /**
     * 其他费用
     */
    @Column(name = "other_fee", precision = 10, scale = 2)
    private BigDecimal otherFee = BigDecimal.ZERO;
 
    /**
     * 合计金额(自动计算)
     */
    @Column(name = "total_amount", precision = 10, scale = 2, insertable = false, updatable = false)
    private BigDecimal totalAmount;
 
    /**
     * 送件人员
     */
    @Column(name = "submitter", length = 50, nullable = false)
    private String submitter;
 
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "create_time", updatable = false)
    private Date createTime;
 
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "update_time")
    private Date updateTime;
}