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;

/**
 * @ClassName FireInspectListResponse
 * @Description 消防巡查点列表响应类
 * @Author 肖祥
 * @Date 2022/10/19 14:05
 * @Version 1.0。0
 **/
@Data
public class FireInspectListResponse 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 = "所属区域")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long areaId;

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

    @ApiModelProperty(value = "详细位置")
    private String detailAddress;

    @ApiModelProperty(value = "巡查点状态")
    private Integer status;

    @ApiModelProperty(value = "巡查点状态名称")
    private String statusName;

    @ApiModelProperty(value = "最近巡查时间")
    private String lastUpdateTime;

    @ApiModelProperty(value = "巡查人")
    private String patrolPersonName;

    @ApiModelProperty(value = "巡查人ID")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private String patrolUserId;
}
