package cn.iocoder.yudao.module.server.controller.admin.workorderType.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 工单类型新增/修改 Request VO")
@Data
public class WorkorderTypeSaveReqVO {

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

    @Schema(description = "父栏目id", example = "1706")
    private Long parentId;

    @Schema(description = "工单类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotEmpty(message = "工单类型名称不能为空")
    private String name;

    @Schema(description = "状态：1：开启、0：关闭", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态：1：开启、0：关闭不能为空")
    private Integer status;

    @Schema(description = "运维商id")
    private String suplier;

    @Schema(description = "需求描述")
    private String requirement;

    @Schema(description = "资料上传提示")
    private String uploadInfo;

    @Schema(description = "流程类型:1:策略类，2:操作类，3:运维商流程", example = "1")
    private Integer processType;

}