|
|
@ -13,78 +13,58 @@ import java.math.BigDecimal; |
|
|
|
@Data |
|
|
|
public class ItemBaseVO { |
|
|
|
|
|
|
|
@Schema(description = "id", example = "id") |
|
|
|
private Long id; |
|
|
|
|
|
|
|
@Schema(description = "编号唯一标识", requiredMode = Schema.RequiredMode.REQUIRED) |
|
|
|
@Schema(description = "零件编码", requiredMode = Schema.RequiredMode.REQUIRED) |
|
|
|
@NotNull(message = "零件编码不能为空") |
|
|
|
private String number; |
|
|
|
|
|
|
|
@Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五") |
|
|
|
@NotNull(message = "名称不能为空") |
|
|
|
@Schema(description = "零件名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五") |
|
|
|
@NotNull(message = "零件名称不能为空") |
|
|
|
private String name; |
|
|
|
|
|
|
|
@Schema(description = "品牌") |
|
|
|
private String brand; |
|
|
|
|
|
|
|
@Schema(description = "规格型号") |
|
|
|
private String specifications; |
|
|
|
|
|
|
|
@Schema(description = "是否存储TRUE/FALSE") |
|
|
|
private String isConstant; |
|
|
|
|
|
|
|
@Schema(description = "科目") |
|
|
|
private String subject; |
|
|
|
@Schema(description = "科目代码代码枚举工具、易耗品、备品备件、机物料") |
|
|
|
private String subjectCode; |
|
|
|
|
|
|
|
@Schema(description = "类别") |
|
|
|
private String category; |
|
|
|
|
|
|
|
|
|
|
|
@Schema(description = "区域") |
|
|
|
private String region; |
|
|
|
|
|
|
|
@Schema(description = "枚举分类 A、B、C") |
|
|
|
private String classification; |
|
|
|
|
|
|
|
@Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED) |
|
|
|
@NotNull(message = "单位不能为空") |
|
|
|
@Schema(description = "单位") |
|
|
|
private String uom; |
|
|
|
|
|
|
|
@Schema(description = "单价", example = "29374") |
|
|
|
private BigDecimal singlePrice; |
|
|
|
@Schema(description = "供应商名称", example = "芋艿") |
|
|
|
private String supplierName; |
|
|
|
|
|
|
|
@Schema(description = "重采购点") |
|
|
|
private Long reprocurement; |
|
|
|
@Schema(description = "生产厂家(品牌)") |
|
|
|
private String brand; |
|
|
|
|
|
|
|
@Schema(description = "最高库存") |
|
|
|
private Integer maxInventory; |
|
|
|
|
|
|
|
@Schema(description = "安全库存") |
|
|
|
private Long safetyStock; |
|
|
|
@Schema(description = "最低库存") |
|
|
|
private Integer minInventory; |
|
|
|
|
|
|
|
@Schema(description = "成本中心") |
|
|
|
private String cost; |
|
|
|
@Schema(description = "采购周期(周)") |
|
|
|
private Integer procurementCycle; |
|
|
|
|
|
|
|
@Schema(description = "采购员") |
|
|
|
private String purchaser; |
|
|
|
@Schema(description = "ABC分类") |
|
|
|
private String classification; |
|
|
|
|
|
|
|
@Schema(description = "财务") |
|
|
|
private String financer; |
|
|
|
@Schema(description = "使用地点") |
|
|
|
private String usePlace; |
|
|
|
|
|
|
|
@Schema(description = "是否框架协议TRUE/FALSE") |
|
|
|
private String isFramework; |
|
|
|
@Schema(description = "项目") |
|
|
|
private String project; |
|
|
|
|
|
|
|
@Schema(description = "是否以旧换新TRUE/FALSE") |
|
|
|
private String isRadeIn; |
|
|
|
@Schema(description = "价格", example = "4") |
|
|
|
private BigDecimal price; |
|
|
|
|
|
|
|
@Schema(description = "描述") |
|
|
|
private String describes; |
|
|
|
|
|
|
|
@Schema(description = "地点ID", example = "1166") |
|
|
|
@Schema(description = "地点ID", example = "3312") |
|
|
|
private String siteId; |
|
|
|
|
|
|
|
@Schema(description = "是否可用") |
|
|
|
private String available; |
|
|
|
|
|
|
|
@Schema(description = "并发乐观锁", requiredMode = Schema.RequiredMode.REQUIRED) |
|
|
|
@NotNull(message = "并发乐观锁不能为空") |
|
|
|
private Integer concurrencyStamp; |
|
|
|
|
|
|
|
} |
|
|
|