Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsBomItemVo.java
2025-07-29 14:33:03 +08:00

59 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain.vo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.klp.common.annotation.ExcelDictFormat;
import com.klp.common.convert.ExcelDictConvert;
import lombok.Data;
/**
* BOM 明细,存放属性–值视图对象 wms_bom_item
*
* @author Joshi
* @date 2025-07-29
*/
@Data
@ExcelIgnoreUnannotated
public class WmsBomItemVo {
private static final long serialVersionUID = 1L;
/**
* 属性名称
*/
@ExcelProperty(value = "属性名称")
private String attrKey;
/**
* 属性值
*/
@ExcelProperty(value = "属性值")
private String attrValue;
/**
* 是否启用0=否1=是)
*/
@ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
@ExcelDictFormat(dictType = "common_swicth")
private Integer isEnabled;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
/**
* BOM ID
*/
@ExcelProperty(value = "BOM ID")
private Long bomId;
/**
* BOM 明细ID
*/
@ExcelProperty(value = "BOM 明细ID")
private Long itemId;
}