package com.ruoyi.purchase.dto;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
|
@Data
|
@Schema(name = "VatDto", description = "增值税比对明细")
|
@ExcelIgnoreUnannotated
|
public class VatDto {
|
|
@Excel(name = "ID")
|
@Schema(description = "发票ID")
|
private Long id;
|
|
@Excel(name = "发票号码")
|
@Schema(description = "发票号码")
|
private String invoiceNumber;
|
|
@Excel(name = "开票日期")
|
@Schema(description = "开票日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private LocalDate issueDate;
|
|
@Excel(name = "类型")
|
@Schema(description = "类型 sales-销项 purchase-进项")
|
private String type;
|
|
@Excel(name = "发票类型")
|
@Schema(description = "发票类型")
|
private String invoiceType;
|
|
@Excel(name = "税额")
|
@Schema(description = "税额")
|
private BigDecimal taxAmount;
|
|
@Excel(name = "价税合计")
|
@Schema(description = "价税合计")
|
private BigDecimal totalAmount;
|
|
@Excel(name = "客户名称")
|
@Schema(description = "客户名称")
|
private String customerName;
|
|
@Excel(name = "供应商名称")
|
@Schema(description = "供应商名称")
|
private String supplierName;
|
|
@Excel(name = "月份")
|
@Schema(description = "月份")
|
private String month;
|
|
@Excel(name = "销项税额")
|
@Schema(description = "销项税额")
|
private BigDecimal jTaxAmount;
|
|
@Excel(name = "进项税额")
|
@Schema(description = "进项税额")
|
private BigDecimal xTaxAmount;
|
|
// ========== 明细视图字段 ==========
|
|
@Excel(name = "发票号")
|
@Schema(description = "发票号")
|
private String invoiceNo;
|
|
@Excel(name = "销售合同号")
|
@Schema(description = "销售合同号")
|
private String salesContractNo;
|
|
@Excel(name = "订单类型")
|
@Schema(description = "类型 进项/销项")
|
private String orderType;
|
|
@Excel(name = "开票日期")
|
@Schema(description = "开票日期")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private LocalDate invoiceDate;
|
|
@Excel(name = "税率")
|
@Schema(description = "税率")
|
private BigDecimal taxRate;
|
|
}
|