package cn.iocoder.yudao.module.mdm.controller.admin.item.vo; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.math.BigDecimal; @Schema(description = "管理后台 - MDM 物料新增/修改 Request VO") @Data public class MdmItemSaveReqVO { @Schema(description = "物料编号", example = "1") private Long id; @Schema(description = "物料编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "ITEM001") private String code; @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "螺丝") private String name; @Schema(description = "物料条码", example = "12345678") private String barCode; @Schema(description = "规格型号", example = "M8*20") private String specification; @Schema(description = "物料分类编号", example = "1") private Long categoryId; @Schema(description = "计量单位编号", example = "1") private Long unitMeasureId; @Schema(description = "物料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") private Integer itemType; @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0") private Integer status; @Schema(description = "采购价格", example = "10.00") private BigDecimal purchasePrice; @Schema(description = "销售价格", example = "15.00") private BigDecimal salesPrice; @Schema(description = "成本价格", example = "8.00") private BigDecimal costPrice; @Schema(description = "安全库存", example = "100") private BigDecimal safetyStock; @Schema(description = "最低库存", example = "50") private BigDecimal minStock; @Schema(description = "最高库存", example = "500") private BigDecimal maxStock; @Schema(description = "保质期天数", example = "365") private Integer expiryDay; @Schema(description = "是否批次管理", example = "false") private Boolean isBatchManaged; @Schema(description = "是否高值物料", example = "false") private Boolean isHighValue; @Schema(description = "重量", example = "0.5") private BigDecimal weight; @Schema(description = "备注", example = "备注信息") private String remark; }