package com.ruoyi.procurementrecord.dto; import com.fasterxml.jackson.annotation.JsonFormat; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.math.BigDecimal; import java.time.LocalDate; import java.time.LocalDateTime; /** * @author :yys * @date : 2025/7/7 17:00 */ @Data public class ProcurementPageDto { private Integer id; private Long createUser; /** * 入库批次 */ @Excel(name = "入库批次") private String inboundBatches; /** * 合同号 */ private String purchaseContractNumber; private String salesLedgerProductId; /** * 出入库数量 */ @Excel(name = "入库数量") private BigDecimal inboundNum; @Excel(name = "预警数量") private BigDecimal warnNum; /** * 待出库数量 */ // @Excel(name = "待出库数量") private BigDecimal inboundNum0; /** * 出入库时间 */ // @Excel(name = "入库时间") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") private LocalDateTime createTime; private String timeStr; /** * 出入库时间 */ @Excel(name = "入库时间") private String time; /** * 出入库用户 */ @Excel(name = "入库人") private String createBy; /** * 供应商名称 */ @Excel(name = "供应商名称") private String supplierName; /** * 产品大类 */ @Excel(name = "产品大类") private String productCategory; /** * 规格型号 */ @Excel(name = "规格型号") private String specificationModel; /** * 单位 */ @Excel(name = "单位") private String unit; /** * 税率 */ @Excel(name = "税率(%)") private BigDecimal taxRate; /** * 含税单价 */ @Excel(name = "含税单价") private BigDecimal taxInclusiveUnitPrice; /** * 含税总价 */ @Excel(name = "含税总价") private BigDecimal taxInclusiveTotalPrice; /** * 不含税总价 */ @Excel(name = "不含税总价") private BigDecimal taxExclusiveTotalPrice; /** * 报表日报 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate reportDate; /** * 报表月报 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate startMonth; /** * 报表月报 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate endMonth; /** * 报表月报 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate startDate; /** * 报表月报 */ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate endDate; }