package org.springblade.modules.external.ycbigdata.smartapplication.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * Created By lidexi in 2021/3/17
 * 大数据局接口返回的物联网设备视图对象
 **/
@Setter
@Getter
@ApiModel(value = "物联网设备对象", description = "物联网设备对象")
public class SmartDeviceVO {


	@ApiModelProperty(value = "设备唯一标识")
	private String deviceId;

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

	@ApiModelProperty(value = "设备类型: 1烟感，2燃气监控，3井盖监控，4一键告警，5智慧路灯，6，智慧消防，7垃圾桶，8停车监控")
	private String deviceType;
	/**
	 * 安装位置
	 */
	@ApiModelProperty(value = "安装位置")
	private String deviceInstallAddress;
	/**
	 * 设备状态
	 */
	@ApiModelProperty(value = "设备状态:1-正常 2-告警 3-失联 4-停用 5-初始化")
	private Integer deviceStatus;
	/**
	 * 电池电量
	 */
	@ApiModelProperty(value = "电池电量")
	private String battery;

	/**
	 * 所属小区id
	 */
	@ApiModelProperty(value = "所属小区id")
	private Long residentialId;



}
