9 天以前 1c1daebcb9f89138a84e9a7643d1909bb1a5a342
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
package cn.iocoder.yudao.module.mes.controller.admin.pd.project.vo;
 
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import jakarta.validation.constraints.NotBlank;
import java.time.LocalDateTime;
 
@Schema(description = "管理后台 - MES 设计项目新增/修改 Request VO")
@Data
public class MesPdProjectSaveReqVO {
 
    @Schema(description = "编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1024")
    private Long id;
 
    @Schema(description = "任务编码", requiredMode = Schema.RequiredMode.REQUIRED, example = "PD2024001")
    @NotBlank(message = "任务编码不能为空")
    private String taskCode;
 
    @Schema(description = "任务名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "新产品设计任务")
    @NotBlank(message = "任务名称不能为空")
    private String taskName;
 
    @Schema(description = "产品编码", example = "ITEM001")
    private String productCode;
 
    @Schema(description = "产品名称", example = "智能传感器")
    private String productName;
 
    @Schema(description = "版本号", example = "V1.0")
    private String version;
 
    @Schema(description = "主设计师", example = "1")
    private Long chiefDesigner;
 
    @Schema(description = "审核人", example = "1")
    private Long reviewer;
 
    @Schema(description = "计划完成时间")
    private LocalDateTime planFinishTime;
 
    @Schema(description = "备注", example = "测试备注")
    private String remark;
 
}