package cn.iocoder.yudao.module.mes.controller.admin.ticketmanagement.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 项目方案关联新增/修改 Request VO")
@Data
public class TicketManagementSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6566")
    private Long id;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21368")
    @NotNull(message = "项目ID不能为空")
    private Long subjectId;

    @Schema(description = "方案ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20459")
    @NotNull(message = "方案ID不能为空")
    private Long planId;

    @Schema(description = "单号")
    private String planNo;

    @Schema(description = "设备名称", example = "张三")
    private String deviceName;

    @Schema(description = "类型", example = "2")
    private String planType;

    @Schema(description = "计划配置名称", example = "赵六")
    private String configName;

    @Schema(description = "作业状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "作业状态不能为空")
    private Integer jobStatus;

    @Schema(description = "作业结果")
    private Integer jobResult;

     @Schema(description = "取消原因")
    private String cancelReason;

}