package com.ruoyi.sales.vo; import com.ruoyi.framework.aspectj.lang.annotation.Excel; import com.ruoyi.sales.pojo.SalesLedgerProduct; import lombok.Data; import java.math.BigDecimal; import java.util.List; @Data public class ShippingNoteVo { @Excel(name = "客户名称", cellType = Excel.ColumnType.STRING) private String customerName; @Excel(name = "送货地址", cellType = Excel.ColumnType.STRING) private String companyAddress; @Excel(name = "联系人", cellType = Excel.ColumnType.STRING) private String contactPerson; @Excel(name = "联系电话", cellType = Excel.ColumnType.STRING) private String contactPhone; @Excel(name = "公司电话", cellType = Excel.ColumnType.STRING) private String companyPhone; @Excel(name = "单据编号", cellType = Excel.ColumnType.STRING) private String salesContractNo; @Excel(name = "送货日期", cellType = Excel.ColumnType.STRING) private String deliveryDate; @Excel(name = "产品信息", type = Excel.Type.EXPORT) private List products; @Excel(name = "合计数量", cellType = Excel.ColumnType.NUMERIC) private BigDecimal totalQuantity; @Data public static class SalesLedgerProductVo { @Excel(name = "序号", cellType = Excel.ColumnType.NUMERIC) private Integer serialNumber; @Excel(name = "物料编号", cellType = Excel.ColumnType.STRING) private String materialCode; @Excel(name = "产品类别", cellType = Excel.ColumnType.STRING) private String productCategory; @Excel(name = "规格型号", cellType = Excel.ColumnType.STRING) private String specificationModel; @Excel(name = "单位", cellType = Excel.ColumnType.STRING) private String unit; @Excel(name = "数量", cellType = Excel.ColumnType.NUMERIC) private BigDecimal quantity; @Excel(name = "订单号", cellType = Excel.ColumnType.STRING) private String orderNo; } }