1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package cn.iocoder.yudao.module.erp.controller.admin.presale.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Schema(description = "管理后台 - ERP 预定货向供货商下单 Request VO")
@Data
public class ErpPresaleOrderSaveReqVO {
 
    @Schema(description = "预定任务编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "预定任务不能为空")
    private Long taskId;
 
    @Schema(description = "供货商(供应商)编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    @NotNull(message = "供货商不能为空")
    private Long supplierId;
 
    @Schema(description = "下单数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "60")
    @NotNull(message = "下单数量不能为空")
    private BigDecimal quantity;
 
    @Schema(description = "下单单价", example = "12.50")
    private BigDecimal productPrice;
 
    @Schema(description = "备注", example = "按预定任务向供货商下单")
    private String remark;
 
}