package com.ruoyi.purchase.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import lombok.Data; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; @Data public class VatDto { //月份(汇总视图) @Excel(name = "月份") private String month ; //进项税 @Excel(name = "进项税额") private BigDecimal jTaxAmount; //销项税 @Excel(name = "销项税额") private BigDecimal xTaxAmount; @Excel(name = "销-进") private BigDecimal taxAmount; // ========== 明细视图字段 ========== @Excel(name = "发票号") private String invoiceNo; @Excel(name = "销售合同号") private String salesContractNo; @Excel(name = "客户名称") private String customerName; @Excel(name = "供应商名称") private String supplierName; @Excel(name = "类型") private String orderType; @Excel(name = "开票日期") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate invoiceDate; @Excel(name = "税率") private BigDecimal taxRate; }