/*
 *      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 com.baomidou.mybatisplus.annotation.IdType;
import org.springblade.core.mp.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 出入记录实体类
 *
 * @author BladeX
 * @since 2021-04-28
 */
@Data
@TableName("estate_access_face_push_records")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "AccessFacePushRecords对象", description = "出入记录")
public class AccessFacePushRecords extends BaseEntity {

	private static final long serialVersionUID = 1L;


	/**
	* 用户类型	住户：1，	服务人员：2
	*/
		@ApiModelProperty(value = "用户类型	住户：1，	服务人员：2")
		private Integer accessUserType;
	/**
	* 设备id
	*/
		@ApiModelProperty(value = "设备id")
		private Long deviceId;
	/**
	* 用户id
	*/
		@ApiModelProperty(value = "用户id")
		private Long userId;
	/**
	* 下发人脸照片
	*/
		@ApiModelProperty(value = "下发人脸照片")
		private String faceUri;
	/**
	* 人脸有效开始时间
	*/
		@ApiModelProperty(value = "人脸有效开始时间")
		private LocalDateTime beginDate;
	/**
	* 人脸有效结束时间
	*/
		@ApiModelProperty(value = "人脸有效结束时间")
		private LocalDateTime endDate;
	/**
	* 下发时间
	*/
		@ApiModelProperty(value = "下发时间")
		private LocalDateTime accessDate;
	/**
	* 人脸启用状态标记：{1：已启用，2：已禁用 }
	*/
		@ApiModelProperty(value = "人脸启用状态标记：{1：已启用，2：已禁用 }")
		private Integer enable;
	/**
	* 创建时间
	*/
		@ApiModelProperty(value = "创建时间")
		private LocalDateTime createDate;
	/**
	* 下发到的设备类型：{1：一般设备，2：特殊设备}
	*/
		@ApiModelProperty(value = "下发到的设备类型：{1：一般设备，2：特殊设备}")
		private Integer sendDeviceType;


}
