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;
|
|
}
|