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;

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

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

    @ApiModelProperty(value = "所属计划名称")
    private String planName;

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

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

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

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

    @ApiModelProperty(value = "实际结束时间")
    private Date actualEndTime;

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

    @ApiModelProperty(value = "任务完成情况")
    private String completeSitu;

    @ApiModelProperty(value = "taskProcessor")
    private String taskProcessor;
}
