| | |
| | | package cn.iocoder.yudao.module.mdm.controller.admin.category.vo; |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotBlank; |
| | | import lombok.Data; |
| | | |
| | | @Schema(description = "管理后台 - MDM 物料分类新增/修改 Request VO") |
| | |
| | | private String code; |
| | | |
| | | @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "五金配件") |
| | | @NotBlank(message = "分类名称不能为空") |
| | | private String name; |
| | | |
| | | @Schema(description = "物料类型", example = "1") |
| | | private Integer itemType; |
| | | |
| | | @Schema(description = "物料/产品标识(兼容MES)", example = "ITEM") |
| | | private String itemOrProduct; |
| | | |
| | | @Schema(description = "排序", example = "1") |
| | | private Integer sort; |
| | | |