|
|
@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelIgnore; |
|
|
|
import com.alibaba.excel.annotation.ExcelProperty; |
|
|
|
import com.win.framework.excel.core.annotations.DictFormat; |
|
|
|
import com.win.framework.excel.core.convert.DictConvert; |
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
|
import lombok.Data; |
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
@ -37,10 +38,24 @@ public class ItemAccountsExcelVO { |
|
|
|
|
|
|
|
@ExcelProperty("库存数量") |
|
|
|
private BigDecimal qty; |
|
|
|
|
|
|
|
@DictFormat("item_account_location_type") // TODO 代码优化:建议设置到对应的 XXXDictTypeConstants 枚举类中
|
|
|
|
@ExcelProperty(value = "库存类型", converter = DictConvert.class) |
|
|
|
private String type; |
|
|
|
|
|
|
|
@ExcelProperty("ABC分类") |
|
|
|
private String classification; |
|
|
|
|
|
|
|
@ExcelProperty("规格型号") |
|
|
|
private String specifications; |
|
|
|
|
|
|
|
@ExcelProperty("使用地点") |
|
|
|
private String usePlace; |
|
|
|
|
|
|
|
@ExcelProperty("项目") |
|
|
|
|
|
|
|
private String project; |
|
|
|
|
|
|
|
@ExcelProperty("创建时间") |
|
|
|
private LocalDateTime createTime; |
|
|
|
@ExcelIgnore |
|
|
|