| | |
| | | package com.ruoyi.purchase.dto; |
| | | |
| | | import com.ruoyi.sales.pojo.CommonFile; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | public class InvoicePurchaseDto { |
| | | |
| | | private Long id; |
| | | |
| | | /** |
| | | * 采购台账id |
| | | */ |
| | | private Long purchaseLedgerId; |
| | | |
| | | /** |
| | | * 采购合同号 |
| | | */ |
| | | private String purchaseContractNo; |
| | | |
| | | /** |
| | | * 关联销售台账主表主键 |
| | | */ |
| | | private Long salesLedgerId; |
| | | |
| | | /** |
| | | * 销售合同号 |
| | | */ |
| | | private String salesContractNo; |
| | | |
| | | /** |
| | | * 供应商名称 |
| | | */ |
| | | private String supplierName; |
| | | |
| | | /** |
| | | * 发票号 |
| | | */ |
| | | private String invoiceNumber; |
| | | |
| | | /** |
| | | * 发票金额(元) |
| | | */ |
| | | private BigDecimal invoiceAmount; |
| | | |
| | | /** |
| | | * 税率 |
| | | */ |
| | | private BigDecimal taxRate; |
| | | |
| | | /** |
| | | * 开票人ID |
| | | */ |
| | | private Long issUerId; |
| | | |
| | | /** |
| | | * 开票人 |
| | | */ |
| | | private String issUer; |
| | | |
| | | /** |
| | | * 开票日期 |
| | | */ |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate issueDate; |
| | | |
| | | private List<String> tempFileIds; |
| | | private List<CommonFile> CommonFiles; |
| | | |
| | | private String fileName; |
| | | } |