liyong
4 天以前 0f792c9b3b88dc4b1b7b306f89e257d931d2d0bd
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
package cn.iocoder.yudao.module.mes.controller.admin.wm.returnissue.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;
 
@Schema(description = "管理后台 - MES 生产退料单新增/修改 Request VO")
@Data
public class MesWmReturnIssueSaveReqVO {
 
    @Schema(description = "编号", example = "1024")
    private Long id;
 
    @Schema(description = "退料单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "RI20250226001")
    @NotBlank(message = "退料单编号不能为空")
    private String code;
 
    @Schema(description = "退料单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "生产退料")
    @NotBlank(message = "退料单名称不能为空")
    private String name;
 
    @Schema(description = "生产任务 ID(非必填,不关联任务时传空)", example = "1")
    private Long taskId;
 
    @Schema(description = "生产工单 ID", example = "1")
    private Long workOrderId;
 
    @Schema(description = "工作站 ID", example = "1")
    private Long workstationId;
 
    @Schema(description = "退料类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "退料类型不能为空")
    private Integer type;
 
    @Schema(description = "退料日期")
    private LocalDateTime returnDate;
 
    @Schema(description = "备注", example = "备注")
    private String remark;
 
}