| | |
| | | @Schema(description = "物料编号", example = "1") |
| | | private Long id; |
| | | |
| | | @Schema(description = "物料编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "ITEM001") |
| | | @Schema(description = "物料编码(由系统自动生成,修改时忽略前端传入值)", example = "100100001") |
| | | private String code; |
| | | |
| | | @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "螺丝") |
| | |
| | | |
| | | @Schema(description = "规格型号", example = "M8*20") |
| | | private String specification; |
| | | |
| | | @Schema(description = "技术参数") |
| | | private String technicalParameters; |
| | | |
| | | @Schema(description = "物料分类编号(关联 MES 物料分类 mes_md_item_type)", example = "1") |
| | | private Long categoryId; |
| | |
| | | @Schema(description = "默认仓库编码", example = "WH001") |
| | | private String warehouseCode; |
| | | |
| | | @Schema(description = "物料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @Schema(description = "产品类型:1原材料 2半成品 3成品 4辅材 5其他", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | private Integer itemType; |
| | | |
| | | @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") |
| | |
| | | |
| | | private Long mdmItemId; |
| | | |
| | | } |
| | | } |