2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
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
package cn.iocoder.yudao.module.mes.controller.admin.cal.plan.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 MesCalPlanSaveReqVO {
 
    @Schema(description = "计划编号", example = "1024")
    private Long id;
 
    @Schema(description = "计划编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "PLAN001")
    @NotEmpty(message = "计划编码不能为空")
    private String code;
 
    @Schema(description = "计划名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "2024年排班计划")
    @NotEmpty(message = "计划名称不能为空")
    private String name;
 
    @Schema(description = "班组类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "班组类型不能为空")
    private Integer calendarType;
 
    @Schema(description = "开始日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "开始日期不能为空")
    private LocalDateTime startDate;
 
    @Schema(description = "结束日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "结束日期不能为空")
    private LocalDateTime endDate;
 
    @Schema(description = "轮班方式", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "轮班方式不能为空")
    private Integer shiftType;
 
    @Schema(description = "倒班方式", example = "1")
    private Integer shiftMethod;
 
    @Schema(description = "倒班天数", example = "7")
    private Integer shiftCount;
 
    @Schema(description = "状态", example = "0")
    private Integer status;
 
    @Schema(description = "备注")
    private String remark;
 
    }