| | |
| | | @Schema(description = "规格型号", example = "M8*20") |
| | | private String specification; |
| | | |
| | | @Schema(description = "物料分类编号", example = "1") |
| | | @Schema(description = "物料分类编号(关联 MES 物料分类 mes_md_item_type)", example = "1") |
| | | private Long categoryId; |
| | | |
| | | @Schema(description = "计量单位编号", example = "1") |
| | | private Long unitMeasureId; |
| | | |
| | | @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; |
| | |
| | | @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; |
| | | |
| | | } |