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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @ClassName FireInspectListResponse
 * @Description 消防巡查点任务详情
 * @Author 肖祥
 * @Date 2022/10/19 14:05
 * @Version 1.0。0
 **/
@Data
public class FireTaskPartListResponse implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "任务id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;

    @ApiModelProperty(value = "partId")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long taskPartId;

    @ApiModelProperty(value = "partId")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long partId;

    @ApiModelProperty(value = "巡查点任务名称")
    private String taskName;

    @ApiModelProperty(value = "所属区域名称")
    private String areaName;

    @ApiModelProperty(value = "巡查员名称")
    private String inspectUserName;

    @ApiModelProperty(value = "任务开始时间")
    private Date taskStartTime;

    @ApiModelProperty(value = "任务结束时间")
    private Date taskEndTime;

    @ApiModelProperty(value = "部件名称")
    private String partName;

    @ApiModelProperty(value = "巡查标准")
    private String inspectStandard;

    @ApiModelProperty(value = "partStatusName")
    private String partStatusName;

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

    @ApiModelProperty(value = "巡查用户id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long inspectUser;

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

    @ApiModelProperty(value = "部件异常图片字符串")
    private String partImage;

    @ApiModelProperty(value = "部件异常图片")
    private List<String> partImageList;

    @ApiModelProperty(value = "巡查点ID")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long pointId;

}
