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
32
33
34
35
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;
import java.time.LocalDate;
 
@Schema(description = "管理后台 - ERP 预定任务新增/修改 Request VO")
@Data
public class ErpPresaleTaskSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "客户不能为空")
    private Long customerId;
 
    @Schema(description = "预定商品(产品)编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "2048")
    @NotNull(message = "预定商品不能为空")
    private Long itemId;
 
    @Schema(description = "预定数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100")
    @NotNull(message = "预定数量不能为空")
    private BigDecimal quantity;
 
    @Schema(description = "要求交货日期", example = "2026-11-30")
    private LocalDate deliveryDate;
 
    @Schema(description = "备注", example = "客户预订单")
    private String remark;
 
}