package com.yuchen.saas.park.api.dto.response;

import com.thinkunion.park.service.common.entity.BasicEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName PmgBatDeviceDataResponse
 * @Description 设备属性数据返回值
 * @Author 肖祥
 * @Date 2020/10/06 09:51
 */
@Data
@ApiModel(value = "设备属性数据表", description = "设备属性数据表")
public class PmgBatDeviceDataResponse extends BasicEntity {

    /**
     * 设备productKey
     */
    @ApiModelProperty(value = "设备productKey")
    private String productKey;

    /**
     * 设备deviceName
     */
    @ApiModelProperty(value = "设备deviceName")
    private String deviceName;

    /**
     * 属性标识
     */
    @ApiModelProperty(value = "属性标识")
    private String identify;

    /**
     * 属性值
     */
    @ApiModelProperty(value = "属性值")
    private String value;

    /**
     * 设备时间
     */
    @ApiModelProperty(value = "设备时间")
    private Date deviceTime;

    /**
     * 监控资源唯一标识
     */
    @ApiModelProperty(value = "监控资源唯一标识")
    private String cameraIndexCode;

    /**
     * 监控名称
     */
    @ApiModelProperty(value = "监控名称")
    private String cameraName;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 设备分类id
     */
    @ApiModelProperty("设备分类id")
    private Long categoryId;
    /**
     * 设备是否被分类关联:0是未关联,1是已关联
     */
    @ApiModelProperty("设备是否被分类关联:0是未关联,1是已关联")
    private Integer categoryRel;
    @ApiModelProperty("摄像头id")
    private String cid;
}
