liyong
2026-07-10 670fdc10eff2fa4b05cc64ac6c26893bd523a8e9
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.transfer.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.time.LocalDateTime;
 
import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;
 
@Schema(description = "管理后台 - MES 转移单 Save Request VO")
@Data
public class MesWmTransferSaveReqVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "转移单编号", requiredMode = REQUIRED, example = "TR2026020001")
    @NotBlank(message = "转移单编号不能为空")
    private String code;
 
    @Schema(description = "转移单名称", requiredMode = REQUIRED, example = "钢板转移单")
    @NotBlank(message = "转移单名称不能为空")
    private String name;
 
    @Schema(description = "转移单类型", requiredMode = REQUIRED, example = "1")
    @NotNull(message = "转移单类型不能为空")
    private Integer type;
 
    @Schema(description = "是否配送", requiredMode = REQUIRED, example = "true")
    @NotNull(message = "是否配送不能为空")
    private Boolean deliveryFlag;
 
    @Schema(description = "收货人", example = "张三")
    private String recipientName;
 
    @Schema(description = "联系方式", example = "13800138000")
    private String recipientTelephone;
 
    @Schema(description = "目的地", example = "上海市浦东新区")
    private String destinationAddress;
 
    @Schema(description = "承运商", example = "顺丰速运")
    private String carrier;
 
    @Schema(description = "运输单号", example = "SF123456789")
    private String shippingNumber;
 
    @Schema(description = "转移日期", requiredMode = REQUIRED)
    @NotNull(message = "转移日期不能为空")
    private LocalDateTime transferDate;
 
    @Schema(description = "备注", example = "备注信息")
    private String remark;
 
}