package com.zksy.visualization.domain.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Administrator
 * @version 1.0
 * @project dh-server-micro
 * @description 分页查询消防部件信息
 * @date 2024/12/19 15:29:43
 */
@Data
public class FirefightingComponentsResponse {
    @ApiModelProperty(value = "总条数")
    private Integer totalCount;

    @ApiModelProperty(value = "下一页")
    private Integer nextPage;

    @ApiModelProperty(value = "数据列表")
    private List<DetectorVO> pageData;

    @Data
    public static class DetectorVO {

    @ApiModelProperty(value = "ID", example = "2", required = true)
    private Integer id;

    @ApiModelProperty(value = "探测器代码", example = "43648965748949614", required = true)
    private String detectorCode;

    @ApiModelProperty(value = "探测器名称", example = "液体压力表", required = true)
    private String detectorName;

    @ApiModelProperty(value = "IMEI", example = "864160064339333$1$0$1", required = true)
    private String imei;

    @ApiModelProperty(value = "探测器状态", example = "5", required = true)
    private Integer detectorStatus;

    @ApiModelProperty(value = "组织代码", example = "001002", required = true)
    private String orgCode;

    @ApiModelProperty(value = "组织名称", example = "沅陵工业园", required = true)
    private String orgName;

    @ApiModelProperty(value = "类型代码", example = "128", required = true)
    private Integer typeCode;

    @ApiModelProperty(value = "公司ID", example = "6bec2a7b7f7f40a9b0904711774c1443", required = true)
    private String companyId;

    @ApiModelProperty(value = "父级代码", example = "1000080", required = true)
    private String parentCode;

    @ApiModelProperty(value = "父级名称", example = "液体压力表", required = true)
    private String parentName;

    @ApiModelProperty(value = "消防系统代码", example = "3", required = true)
    private String fireSystemCode;

    @ApiModelProperty(value = "部分单元回路代码", example = "0", required = true)
    private String partUnitLoopCode;

    @ApiModelProperty(value = "通道号", example = "1", required = true)
    private String channelNo;

    @ApiModelProperty(value = "系统地址", example = "1", required = true)
    private Integer systemAddress;

    @ApiModelProperty(value = "制造商代码", example = "")
    private String manufacturerCode;

    @ApiModelProperty(value = "通道序列号", example = "1000080$23$1$1", required = true)
    private String channelSn;

    @ApiModelProperty(value = "地图类型", example = "0", required = true)
    private Integer mapType;

    @ApiModelProperty(value = "类型名称", example = "压力传感器", required = true)
    private String typeName;

    @ApiModelProperty(value = "公司名称", example = "沅陵工业园", required = true)
    private String companyName;

    @ApiModelProperty(value = "消防系统名称", example = "智慧用水系统", required = true)
    private String fireSystemName;

    @ApiModelProperty(value = "制造商名称", example = "")
    private String manufacturerName;
}
}
