package cn.iocoder.yudao.module.server.controller.admin.workorderInfos.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 WorkorderInfosSaveReqVO {

    @Schema(description = "工单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12869")
    private Long id;

    @Schema(description = "工单分类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30599")
    @NotNull(message = "工单分类ID不能为空")
    private Long categoryId;

    @Schema(description = "技术运维商ID", example = "28210")
    private Long techOperatorId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22662")
//    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "需求描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "需求描述不能为空")
    private String requirement;

    private String type;

    @Schema(description = "资料附件")
    private String requiredInfo;
    private List<HashMap> requiredInfoFj;

    @Schema(description = "下单时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "下单时间不能为空")
    private String orderTime;

    @Schema(description = "工单状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "工单状态不能为空")
    private String status;
    @Schema(description = "工单审核状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String auditResult;

    @Schema(description = "工单审核意见", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private String auditOpinion;

    @Schema(description = "打回原因", example = "不对")
    private String rejectReason;
    private Integer rejectTo;
    private String finishText;

    @Schema(description = "期望完成日期")
    private String expectedCompletionDate;

    @Schema(description = "上报附件")
    private String attachment;

}