package com.ruoyi.sales.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.util.Date; @Data public class SalesLedgerSimpleImportDto { @Excel(name = "订货日期") @DateTimeFormat(pattern = "yy.MM.dd") @JsonFormat(pattern = "yy.MM.dd", timezone = "GMT+8") private Date orderDate; @Excel(name = "客户名称") private String customerName; @Excel(name = "产品名称") private String productName; @Excel(name = "数量") private BigDecimal quantity; @Excel(name = "单价") private BigDecimal unitPrice; @Excel(name = "金额") private BigDecimal amount; @Excel(name = "订单编号") private String orderNo; }