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 FireInspectPlanListResponse 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 = "巡查人员")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long inspectUser;

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

    @ApiModelProperty(value = "开始日期")
    private Date planStartDate;

    @ApiModelProperty(value = "结束日期")
    private Date planEndDate;

    @ApiModelProperty(value = "巡查周期")
    private Integer inspectCycle;

    @ApiModelProperty(value = "巡查周期名称")
    private String inspectCycleName;

    @ApiModelProperty(value = "计划状态:1、未开始2、进行中3、已结束")
    private Integer planStatus;

    @ApiModelProperty(value = "计划状态:1、未开始2、进行中3、已结束")
    private String planStatusName;
}
