package com.ruoyi.sales.dto; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.sales.pojo.ReceiptPayment; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.time.LocalDate; import java.util.Date; @Data public class ReceiptPaymentDto extends ReceiptPayment { @ApiModelProperty(value = "客户合同号") @Excel(name = "客户合同号") private String customerContractNo; @ApiModelProperty(value = "客户名称") @Excel(name = "客户名称") private String customerName; @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") @Excel(name = "开票日期",width = 30,dateFormat = "yyyy-MM-dd") @ApiModelProperty(value = "开票日期") private Date invoiceDate; @TableField(exist = false) private String invoiceDateStart; @TableField(exist = false) private String invoiceDateEnd; @ApiModelProperty(value = "查询文本") private String searchText; @ApiModelProperty(value = "销售台账sales_ledger") @Excel(isExport = false) private Integer salesLedgerId; @ApiModelProperty(value = "销售合同号") @Excel(name = "销售合同号") private String salesContractNo; @ApiModelProperty(value = "客户名称ID") @Excel(isExport = false) private Integer customerId; @ApiModelProperty(value = "发票号") @Excel(name = "发票号") private String invoiceNo; @ApiModelProperty(value = "发票金额") @Excel(name = "发票金额") private BigDecimal invoiceTotal; @ApiModelProperty(value = "税率(%)") @Excel(name = "税率(%)") private BigDecimal taxRate; @ApiModelProperty(value = "产品大类") @Excel(name = "产品大类") private String productCategory; @ApiModelProperty(value = "回款金额") @Excel(name = "回款金额") private BigDecimal receiptPaymentAmountTotal; @ApiModelProperty(value = "待回款金额") @Excel(name = "待回款金额") private BigDecimal noReceiptAmount; @TableField(exist = false) @Excel(isExport = false) private Boolean status; @TableField(exist = false) @Excel(isExport = false) private String receiptPaymentDateStart; @TableField(exist = false) @Excel(isExport = false) private String receiptPaymentDateEnd; @ApiModelProperty(value = "项目名称") @Excel(name = "项目名称") private String projectName; }