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 FireInspectAddRequest
 * @Description 消防巡查点任务记录
 * @Author 肖祥
 * @Date 2022/10/19 14:05
 * @Version 1.0。0
 **/
@Data
public class FireInspectPlanLogResponse implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "巡查点id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;

    @ApiModelProperty(value = "任务id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long taskId;

    @ApiModelProperty(value = "巡查计划名称")
    private String planName;

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

    @ApiModelProperty(value = "所属区域名称")
    private String areaName;
    @ApiModelProperty(value = "所属区域id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long areaId;
    @ApiModelProperty(value = "巡查人id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long inspectUser;
    @ApiModelProperty(value = "巡查人")
    private String inspectUserName;

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

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

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

    @ApiModelProperty(value = "完成情况")
    private Integer completeSitu;

    @ApiModelProperty(value = "任务完成情况:1、按时完成2、超时完成3、异常终止4、超时未完成")
    private String completeSituName;

}
