超市报表
This commit is contained in:
1 parent
2418e1884f
commit
b96f3cdfcd
1 file changed
+69
+69
@@ -0,0 +1,69 @@
|
||||
package com.bsd.pjcloud.supermarket.dto.inventoryrecords;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
||||
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
||||
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* 出入库明细导出DTO
|
||||
*
|
||||
* @author pjcloud
|
||||
* @date 2024-10-15
|
||||
*/
|
||||
@Data
|
||||
@ContentRowHeight(20)
|
||||
@HeadRowHeight(25)
|
||||
@ColumnWidth(15)
|
||||
public class InventoryDetailExcelDTO {
|
||||
|
||||
@ExcelProperty(value = "单据编号", index = 0)
|
||||
@ColumnWidth(20)
|
||||
private String inventoryCode;
|
||||
|
||||
@ExcelProperty(value = "单据日期", index = 1)
|
||||
@ColumnWidth(15)
|
||||
private LocalDate inventoryDate;
|
||||
|
||||
@ExcelProperty(value = "商品名称", index = 2)
|
||||
@ColumnWidth(30)
|
||||
private String productName;
|
||||
|
||||
@ExcelProperty(value = "规格", index = 3)
|
||||
@ColumnWidth(20)
|
||||
private String spec;
|
||||
|
||||
@ExcelProperty(value = "单位", index = 4)
|
||||
@ColumnWidth(10)
|
||||
private String unit;
|
||||
|
||||
@ExcelProperty(value = "装数", index = 5)
|
||||
@ColumnWidth(10)
|
||||
private Integer packageNum;
|
||||
|
||||
@ExcelProperty(value = "数量", index = 6)
|
||||
@ColumnWidth(15)
|
||||
private Double quantity;
|
||||
|
||||
@ExcelProperty(value = "单价(元)", index = 7)
|
||||
@ColumnWidth(15)
|
||||
private BigDecimal unitPrice;
|
||||
|
||||
@ExcelProperty(value = "总金额(元)", index = 8)
|
||||
@ColumnWidth(15)
|
||||
private BigDecimal totalAmount;
|
||||
|
||||
@ExcelProperty(value = "供应商", index = 9)
|
||||
@ColumnWidth(25)
|
||||
private String supplierName;
|
||||
|
||||
@ExcelProperty(value = "备注", index = 10)
|
||||
@ColumnWidth(30)
|
||||
private String remark;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user