Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsRawMaterialVo.java

216 lines
5.5 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 java.math.BigDecimal;
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;
/**
* 原材料视图对象 wms_raw_material
*
* @author Joshi
* @date 2025-07-18
*/
@Data
@ExcelIgnoreUnannotated
public class WmsRawMaterialVo {
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@ExcelProperty(value = "主键ID")
private Long rawMaterialId;
/**
* 原材料编号
*/
@ExcelProperty(value = "原材料编号")
private String rawMaterialCode;
/**
* 原材料名称
*/
@ExcelProperty(value = "原材料名称")
private String rawMaterialName;
/**
* 钢种/牌号如SPHC、SPHE、S350GD等
*/
@ExcelProperty(value = "钢种/牌号", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "如=SPHC、SPHE、S350GD等")
private String steelGrade;
/**
* 目标冷轧牌号如SPCC、DC06、SGCC等
*/
@ExcelProperty(value = "目标冷轧牌号", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "如=SPCC、DC06、SGCC等")
private String targetColdGrade;
/**
* 基础材质分类ID
*/
@ExcelProperty(value = "基础材质分类ID")
private Long baseMaterialId;
/**
* 表面处理分类ID
*/
@ExcelProperty(value = "表面处理分类ID")
private Long surfaceTreatmentId;
/**
* 厚度mm
*/
@ExcelProperty(value = "厚度", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "m=m")
private BigDecimal thickness;
/**
* 厚度偏差mm
*/
@ExcelProperty(value = "厚度偏差", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "m=m")
private BigDecimal thicknessDeviation;
/**
* 宽度mm
*/
@ExcelProperty(value = "宽度", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "m=m")
private BigDecimal width;
/**
* 目标冷轧宽度mm
*/
@ExcelProperty(value = "目标冷轧宽度", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "m=m")
private BigDecimal targetColdWidth;
/**
* 目标冷轧厚度mm
*/
@ExcelProperty(value = "目标冷轧厚度", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "m=m")
private BigDecimal targetColdThickness;
/**
* 凸度mm
*/
@ExcelProperty(value = "凸度", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "m=m")
private BigDecimal crown;
/**
* 卷重kg
*/
@ExcelProperty(value = "卷重", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "k=g")
private BigDecimal coilWeight;
/**
* 表面质量
*/
@ExcelProperty(value = "表面质量")
private String surfaceQuality;
/**
* 硬度HV5
*/
@ExcelProperty(value = "硬度", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "H=V5")
private BigDecimal hardnessHv5;
/**
* 硬度差值HV5差值≤15为合格
*/
@ExcelProperty(value = "硬度差值", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "H=V5差值≤15为合格")
private BigDecimal hardnessDiff;
/**
* 锰含量Mn%
*/
@ExcelProperty(value = "锰含量Mn", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "%=")
private BigDecimal compositionMn;
/**
* 磷含量P%
*/
@ExcelProperty(value = "磷含量P", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "%=")
private BigDecimal compositionP;
/**
* 晶粒级别如ASTM 6-8级仅电工钢
*/
@ExcelProperty(value = "晶粒级别", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "如=ASTM,6=-8级仅电工钢")
private String grainSize;
/**
* 头尾切除标记0=否1=是,汽车板专用)
*/
@ExcelProperty(value = "头尾切除标记", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "0==否1=是,汽车板专用")
private Integer headTailCutFlag;
/**
* 检测结论(如合格/条纹/微裂纹/成分偏析等)
*/
@ExcelProperty(value = "检测结论", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "如=合格/条纹/微裂纹/成分偏析等")
private String inspectionResult;
/**
* 是否启用0=否1=是)
*/
@ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "0==否1=是")
private Integer isEnabled;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
/**
* 单位
*/
@ExcelProperty(value = "单位")
private String unit;
/**
* BOM 表头ID
*/
@ExcelProperty(value = "BOM 表头ID")
private Long bomId;
/**
* 需求量
*/
@ExcelProperty(value = "需求量")
private BigDecimal demand;
/**
* 库存量
*/
@ExcelProperty(value = "库存量")
private BigDecimal inventory;
/**
* 在途量
*/
@ExcelProperty(value = "在途量")
private BigDecimal onTheWay;
}