InvoiceDTO.java 708 Bytes
package vion.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

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


@Getter
@Setter
public class InvoiceDTO extends BaseDTO {
    private Long id;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 开票时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date invoicingTime;

    /**
     * 发票金额
     */
    private BigDecimal invoiceAmount;

    /**
     * 发票号
     */
    private String invoiceNo;

    /**
     * 备注
     */
    private String remark;

    /**
     * 流水号
     */
    private String serialNo;

}