package com.yuchen.saas.park.api.dto.fire.inspect.client;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2024/4/9 17:46
 */
@Data
public class SubmitTaskReqDTO {
    /**
     * 任务id
     */
    @NotNull(message = "巡检任务id不能为空")
    private Long planTaskId;

    /**
     * 巡检点id
     */
    @NotNull(message = "巡检点id不能为空")
    private Long planTaskConfigId;

    /**
     * 巡检结果（1: 正常，2：异常）
     */
    @ApiModelProperty(name = "inspectResult", value = "巡检结果（1: 正常，2：异常）")
    @NotBlank(message = "巡检结果不能为空")
    private String inspectResult;

    /**
     * 检查项
     */
    @ApiModelProperty(name = "inspectCheckItem", value = "检查项")
    @NotBlank(message = "检查项不能为空")
    private String inspectCheckItem;

    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
}
