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;
|
}
|