昨天 eccad5a129106377a275be4f7cdc58e99e9b95d4
yudao-module-mdm/src/main/java/cn/iocoder/yudao/module/mdm/controller/admin/item/vo/MdmItemSaveReqVO.java
@@ -24,14 +24,29 @@
    @Schema(description = "规格型号", example = "M8*20")
    private String specification;
    @Schema(description = "物料分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @Schema(description = "物料分类编号(关联 MES 物料分类 mes_md_item_type)", example = "1")
    private Long categoryId;
    @Schema(description = "计量单位编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @Schema(description = "计量单位编号", example = "1")
    private Long unitMeasureId;
    @Schema(description = "品牌编号", example = "1")
    private Long brandId;
    @Schema(description = "辅单位1编号", example = "2")
    private Long unitMeasureId2;
    @Schema(description = "辅单位1换算比率", example = "12")
    private BigDecimal unitMeasureRate1;
    @Schema(description = "辅单位2编号", example = "3")
    private Long unitMeasureId3;
    @Schema(description = "辅单位2换算比率", example = "100")
    private BigDecimal unitMeasureRate2;
    @Schema(description = "默认仓库编号", example = "1")
    private Long warehouseId;
    @Schema(description = "默认仓库编码", example = "WH001")
    private String warehouseCode;
    @Schema(description = "物料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer itemType;
@@ -72,4 +87,32 @@
    @Schema(description = "备注", example = "备注信息")
    private String remark;
    @Schema(description = "是否同步到 MES", example = "false")
    private Boolean syncMes;
    // ========== 批次属性配置(同步时一起保存) ==========
    @Schema(description = "生产日期必填", example = "true")
    private Boolean produceDateFlag;
    @Schema(description = "有效期必填", example = "true")
    private Boolean expireDateFlag;
    @Schema(description = "入库日期必填", example = "false")
    private Boolean receiptDateFlag;
    @Schema(description = "供应商必填", example = "true")
    private Boolean vendorFlag;
    @Schema(description = "采购订单号必填", example = "false")
    private Boolean purchaseOrderCodeFlag;
    @Schema(description = "生产批号必填", example = "true")
    private Boolean lotNumberFlag;
    @Schema(description = "质量状态必填", example = "false")
    private Boolean qualityStatusFlag;
    private Long mdmItemId;
}