InvoiceDTO.java 929 Bytes
package vion.dto;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;


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

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

    /**
     * 开票时间
     */
    private LocalDate invoicingTime;

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

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

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

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

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate invoicingTimeStart;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate invoicingTimeEnd;

    private OrderItem orderItem;

}