/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.smartapplication.facedevice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2020-12-04
 */
@Data
@TableName("yc_face_device")
@ApiModel(value = "FaceDevice对象", description = "FaceDevice对象")
public class FaceDevice extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 门禁设备
	*/
		@ApiModelProperty(value = "门禁设备")
		private Long id;
	/**
	* 具体地址
	*/
		@ApiModelProperty(value = "具体地址")
		private String address;
	/**
	* 名称
	*/
		@ApiModelProperty(value = "名称")
		private String cameraName;
	/**
	* 所属市
	*/
		@ApiModelProperty(value = "所属市")
		private String cityCode;
	/**
	* 所属小区
	*/
		@ApiModelProperty(value = "所属小区")
		private Long residentialId;
	/**
	* 所属区
	*/
		@ApiModelProperty(value = "所属区")
		private String areaCode;
	/**
	* 设备编号
	*/
		@ApiModelProperty(value = "设备编号")
		private String cameraCode;
	/**
	* Mac编码
	*/
		@ApiModelProperty(value = "Mac编码")
		private String macAddress;
	/**
	* 创建时间
	*/
		@ApiModelProperty(value = "创建时间")
		private Date createTime;
	/**
	* 纬度
	*/
		@ApiModelProperty(value = "纬度")
		private String latitude;
	/**
	* 经度
	*/
		@ApiModelProperty(value = "经度")
		private String longitude;
	/**
	* 所属省
	*/
		@ApiModelProperty(value = "所属省")
		private String provinceCode;
	/**
	* 设备状态：0-离线 2-mac异常
	*/
		@ApiModelProperty(value = "设备状态：0-离线 1-在线 2-mac异常")
		private Integer deviceStatus;
	/**
	* 旧平台id
	*/
		@ApiModelProperty(value = "旧平台id")
		private String oldId;

	/**
	 * 机构路径
	 */
	@ApiModelProperty(value = "机构路径")
	private String orgPosition;

	/**
	 * 设备厂商
	 */
	@ApiModelProperty(value = "设备厂商")
	private String deviceFactory;

	/**
	 * 社区id
	 */
	@ApiModelProperty(value = "社区id")
	private Long agencyId;

	@ApiModelProperty(value = "tenantId")
	private String tenantId;

	@ApiModelProperty(value = "集约平台id")
	private  String inhabitantId;


}
