| | |
| | | @NotNull(message = "采购时间不能为空") |
| | | private LocalDateTime orderTime; |
| | | |
| | | @Schema(description = "采购类型:1生产 2办公用品 3其他", example = "1") |
| | | private Integer purchaseType; |
| | | |
| | | @Schema(description = "合同号(客户手工输入,不自动生成)", example = "HT2026110001") |
| | | private String contractNo; |
| | | |
| | | @Schema(description = "项目名称(非必填)", example = "1号产线改造") |
| | | private String projectName; |
| | | |
| | | @Schema(description = "付款日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "付款日期不能为空,请选择付款日期后再保存") |
| | | private LocalDateTime paymentDate; |
| | | |
| | | @Schema(description = "付款方式:1电汇 2汇票 3现金 4手机支付", example = "1") |
| | | private Integer paymentMethod; |
| | | |
| | | @Schema(description = "优惠率,百分比", requiredMode = Schema.RequiredMode.REQUIRED, example = "99.88") |
| | | private BigDecimal discountPercent; |
| | | |
| | |
| | | @NotNull(message = "产品编号不能为空") |
| | | private Long productId; |
| | | |
| | | @Schema(description = "产品编号(MDM 物料编码快照)", example = "MDM001") |
| | | private String productCode; |
| | | |
| | | @Schema(description = "产品单位单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113") |
| | | @NotNull(message = "产品单位单位不能为空") |
| | | private Long productUnitId; |