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 FireInspectAddRequest
 * @Description 消防巡查点新增请求类
 * @Author 肖祥
 * @Date 2022/10/19 14:05
 * @Version 1.0。0
 **/
@Data
public class FireInspectPlanResponse 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 = "巡查时间段:开始时间")
    private Date startTime;

    @ApiModelProperty(value = "巡查时间段:结束时间")
    private Date endTime;

    @ApiModelProperty(value = "计划间隔")
    private Integer planInterval;

    @ApiModelProperty(value = "巡查点列表")
    private List<FireInspectPlanPointResponse> responseList;



}
