Files
klp-oa/klp-wms/src/main/java/com/klp/domain/WmsRawMaterial.java
Joshi a3269487e4 feat(wms): 添加产品和原材料的材质、厂家、表面处理及锌层厚度字段
- 在WmsProduct和WmsRawMaterial实体类中新增material、manufacturer、  surfaceTreatmentDesc和zincLayer字段
- 更新对应的BO和VO类,同步添加上述四个字段
- 修改Mapper XML文件,增加新字段的映射配置
- 在Service实现类中,为新字段添加查询条件支持
- 导入必要的MyBatis注解以支持字段映射
2025-11-14 16:58:02 +08:00

161 lines
3.0 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;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
/**
* 原材料对象 wms_raw_material
*
* @author Joshi
* @date 2025-07-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_raw_material")
public class WmsRawMaterial extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 主键ID
*/
@TableId(value = "raw_material_id")
private Long rawMaterialId;
/**
* 原材料编号
*/
private String rawMaterialCode;
/**
* 原材料名称
*/
private String rawMaterialName;
/**
* 钢种/牌号如SPHC、SPHE、S350GD等
*/
private String steelGrade;
/**
* 目标冷轧牌号如SPCC、DC06、SGCC等
*/
private String targetColdGrade;
/**
* 基础材质分类ID
*/
private Long baseMaterialId;
/**
* 表面处理分类ID
*/
private Long surfaceTreatmentId;
/**
* 厚度mm
*/
private BigDecimal thickness;
/**
* 厚度偏差mm
*/
private BigDecimal thicknessDeviation;
/**
* 宽度mm
*/
private BigDecimal width;
/**
* 目标冷轧宽度mm
*/
private BigDecimal targetColdWidth;
/**
* 目标冷轧厚度mm
*/
private BigDecimal targetColdThickness;
/**
* 凸度mm
*/
private BigDecimal crown;
/**
* 卷重kg
*/
private BigDecimal coilWeight;
/**
* 表面质量
*/
private String surfaceQuality;
/**
* 硬度HV5
*/
private BigDecimal hardnessHv5;
/**
* 硬度差值HV5差值≤15为合格
*/
private BigDecimal hardnessDiff;
/**
* 锰含量Mn%
*/
private BigDecimal compositionMn;
/**
* 磷含量P%
*/
private BigDecimal compositionP;
/**
* 晶粒级别如ASTM 6-8级仅电工钢
*/
private String grainSize;
/**
* 头尾切除标记0=否1=是,汽车板专用)
*/
private Integer headTailCutFlag;
/**
* 检测结论(如合格/条纹/微裂纹/成分偏析等)
*/
private String inspectionResult;
/**
* 是否启用0=否1=是)
*/
private Integer isEnabled;
/**
* 删除标志0=正常1=已删除)
*/
@TableLogic
private Integer delFlag;
/**
* 备注
*/
private String remark;
/**
* 单位
*/
private String unit;
/**
* BOM 表头ID
*/
private Long bomId;
//规格
private String specification;
/**
* 材质
*/
private String material;
/**
* 厂家
*/
private String manufacturer;
/**
* 表面处理详情
*/
private String surfaceTreatmentDesc;
/**
* 锌层厚度
*/
private String zincLayer;
}