2 天以前 111270df037596a04df97f787ca8b9199dd99866
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package cn.iocoder.yudao.module.mes.controller.admin.wm.productsales.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 销售出库单新增/修改 Request VO")
@Data
public class MesWmProductSalesSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "出库单号", requiredMode = Schema.RequiredMode.REQUIRED, example = "PS2026030001")
    @NotEmpty(message = "出库单号不能为空")
    private String code;
 
    @Schema(description = "出库单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "产品出库单")
    @NotEmpty(message = "出库单名称不能为空")
    private String name;
 
    @Schema(description = "客户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "客户不能为空")
    private Long clientId;
 
    @Schema(description = "销售订单号", example = "SO2026030001")
    private String salesOrderCode;
 
    @Schema(description = "出库日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "出库日期不能为空")
    private LocalDateTime salesDate;
 
    @Schema(description = "发货通知单ID", example = "1")
    private Long noticeId;
 
    @Schema(description = "收货人", example = "张三")
    private String contactName;
 
    @Schema(description = "联系方式", example = "13800138000")
    private String contactTelephone;
 
    @Schema(description = "收货地址", example = "北京市朝阳区XX路XX号")
    private String contactAddress;
 
    @Schema(description = "承运商", example = "顺丰快递")
    private String carrier;
 
    @Schema(description = "运输单号", example = "SF1234567890")
    private String shippingNumber;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}