PaymentVO.java 1.26 KB
package vion.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.liaochong.myexcel.core.annotation.ExcelColumn;
import com.github.liaochong.myexcel.core.annotation.ExcelModel;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ExcelModel(sheetName = "收款列表", includeAllField = false)
public class PaymentVO {
    private Long id;

    /**
     * 合同编号
     */
    @ExcelColumn(order = 0, title = "合同编号")
    private String contractNo;

    /**
     * 流水号
     */
    @ExcelColumn(order = 1, title = "流水号")
    private String serialNo;

    /**
     * 收款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ExcelColumn(order = 2, title = "收款时间", format = "yyyy-MM-dd")
    private Date collectionTime;

    /**
     * 收款金额
     */
    @ExcelColumn(order = 3, title = "收款金额")
    private BigDecimal paymentAmount;

    /**
     * 备注
     */
    @ExcelColumn(order = 4, title = "备注")
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}