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 09:35:55
 */
@Data
public class IntelligenceSensorResponse {
    @ApiModelProperty(value = "当前页码")
    private Integer currentPage;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize;

    @ApiModelProperty(value = "总页数")
    private Integer totalPage;

    @ApiModelProperty(value = "总条数")
    private Integer totalRows;

    @ApiModelProperty(value = "当前页数据")
    private List<PageDataItem> pageData;

@Data
class PageDataItem {

    @ApiModelProperty(value = "所属组织编码")
    private String orgCode;

    @ApiModelProperty(value = "所属组织名称")
    private String orgName;

    @ApiModelProperty(value = "设备编码")
    private String deviceCode;

    @ApiModelProperty(value = "设备名称")
    private String deciceName;

    @ApiModelProperty(value = "设备在离线状态（0:离线 1:在线）")
    private Integer isOnline;

    @ApiModelProperty(value = "联动面板名称")
    private List<String> linkagePanels;

    @ApiModelProperty(value = "光照强度")
    private Integer lightData;

    @ApiModelProperty(value = "红外数据 0:无人 1:有人")
    private Integer infraredData;

    @ApiModelProperty(value = "人体传感器数据 0:无人 1:有人")
    private Integer radarData;

    @ApiModelProperty(value = "所属物模型种类")
    private Integer iotType;
}
}
