/*
 *      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.estate.entity;

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

/**
 * 实体类
 *
 * @author BladeX
 * @since 2022-01-07
 */
@Data
@TableName("estate_user_access_permissions")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "UserAccessPermissions对象", description = "UserAccessPermissions对象")
public class UserAccessPermissions extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 用户ID
	*/
		@ApiModelProperty(value = "用户ID")
		private String userId;
	/**
	* 用户姓名
	*/
		@ApiModelProperty(value = "用户姓名")
		private String userName;
	/**
	* 用户类型，QYYG_:企业员工，FWY_：服务员，FK_：访客。ADMIN_：管理员
	*/
		@ApiModelProperty(value = "用户类型，QYYG_:企业员工，FWY_：服务员，FK_：访客。ADMIN_：管理员")
		private String userType;
	/**
	* 用户人脸
	*/
		@ApiModelProperty(value = "用户人脸")
		private String userFace;
	/**
	* 设备序列号
	*/
		@ApiModelProperty(value = "设备序列号")
		private String deviceSerialNum;
	/**
	* 设备名称
	*/
		@ApiModelProperty(value = "设备名称")
		private String deviceName;
	/**
	* 设备位置
	*/
		@ApiModelProperty(value = "设备位置")
		private String deviceAddress;
	/**
	* 园区ID
	*/
		@ApiModelProperty(value = "园区ID")
		private Long agencyId;
	/**
	* 区域ID
	*/
		@ApiModelProperty(value = "区域ID")
		private Long residentialId;
	/**
	* 楼栋ID
	*/
		@ApiModelProperty(value = "楼栋ID")
		private Long buildingId;
	/**
	* 单元ID
	*/
		@ApiModelProperty(value = "单元ID")
		private Long unitId;
	/**
	 * 楼层ID
	 */
	@ApiModelProperty(value = "楼层ID")
	private Long floorId;
	/**
	* 房间ID
	*/
		@ApiModelProperty(value = "房间ID")
		private Long roomId;
	/**
	* 企业ID
	*/
		@ApiModelProperty(value = "企业ID")
		private Long enterpriseId;

		private String tenantId;

	/**
	 * 设备厂家
	 */
	private String deviceFactory;

	/**
	 * 授权开门类型
	 * 1：远程开门
	 * 2：门禁卡开门
	 * 3：人脸开门
	 */
	private Integer permissions;



}
