| | |
| | | @Schema(description = "最高库存", example = "500") |
| | | private BigDecimal maxStock; |
| | | |
| | | @Schema(description = "采购提前期(天)") |
| | | @jakarta.validation.constraints.Min(value = 0, message = "采购提前期不能为负数") |
| | | private Integer leadTime; |
| | | |
| | | @Schema(description = "外协提前期(天)") |
| | | @jakarta.validation.constraints.Min(value = 0, message = "外协提前期不能为负数") |
| | | private Integer outsourceLeadTime; |
| | | |
| | | @Schema(description = "保质期天数", example = "365") |
| | | private Integer expiryDay; |
| | | |
| | |
| | | @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; |
| | | |
| | | } |