package com.yuchen.saas.park.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.tenant.mp.TenantEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @author 肖祥
 * @date 2022/9/28 11:52
 * @Description 消防设施巡查任务
 */
@Data
public class FireInspectTaskUpdateRequest extends TenantEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "taskPartId")
    @NotNull(message="taskPartId is null")
    private Long taskPartId;

    @ApiModelProperty(value = "taskId")
    @NotNull(message="taskId is null")
    private Long taskId;

    @ApiModelProperty(value = "部件状态:0是未巡查,1是已巡查")
    private Integer partInspectStatus;

    @ApiModelProperty(value = "部件:发现隐患数")
    private Integer taskTroubleNum;

    @ApiModelProperty(value = "部件:部件异常描述")
    private String exceptionDesc;

    @ApiModelProperty(value = "部件:隐患详情")
    private String troubleDetail;

    @ApiModelProperty(value = "上传图片")
    private MultipartFile file;


}
