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

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-03-10
 */
@Data
@TableName("estate_guest")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Guest对象", description = "Guest对象")
public class Guest extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 访客名称
	*/
		@ApiModelProperty(value = "访客名称")
		private String guestName;
	/**
	* 手机号
	*/
		@ApiModelProperty(value = "手机号")
		private String guestTel;
	/**
	* 性别  0-未定义  1-男 2-女
	*/
		@ApiModelProperty(value = "性别  0-未定义  1-男 2-女")
		private Integer guestSex;
	/**
	* 访问缘由
	*/
		@ApiModelProperty(value = "访问缘由")
		private String guestReason;
	/**
	* 所属社区id
	*/
		@ApiModelProperty(value = "所属社区id")
		private Long agencyId;
	/**
	* 所属社区名称
	*/
		@ApiModelProperty(value = "所属社区名称")
		private String agencyName;
	/**
	* 所属小区id
	*/
		@ApiModelProperty(value = "所属小区id")
		private Long residentialId;
	/**
	* 小区名称
	*/
		@ApiModelProperty(value = "小区名称")
		private String residentialName;
	/**
	* 楼栋id
	*/
		@ApiModelProperty(value = "楼栋id")
		private Long buildingId;
	/**
	* 楼栋名称
	*/
		@ApiModelProperty(value = "楼栋名称")
		private String buildingName;
	/**
	* 所属单元id
	*/
		@ApiModelProperty(value = "所属单元id")
		private Long unitId;
	/**
	* 单元名称
	*/
		@ApiModelProperty(value = "单元名称")
		private String unitName;
	/**
	* 楼层id
	*/
		@ApiModelProperty(value = "楼层id")
		private Long floorId;
	/**
	* 楼层名称
	*/
		@ApiModelProperty(value = "楼层名称")
		private String floorName;
	/**
	* 所属房间id
	*/
		@ApiModelProperty(value = "所属房间id")
		private Long roomId;
	/**
	* 所属房间名称
	*/
		@ApiModelProperty(value = "所属房间名称")
		private String roomName;
	/**
	* 要访问的住户姓名
	*/
		@ApiModelProperty(value = "要访问的住户姓名")
		private String userName;
	/**
	* 访问的住户的id
	*/
		@ApiModelProperty(value = "访问的住户的id")
		private Long userId;
	/**
	* 企业名称
	*/
		@ApiModelProperty(value = "企业名称")
		private String enterpriseName;
	/**
	* 企业id
	*/
		@ApiModelProperty(value = "企业id")
		private Long enterpriseId;
	/**
	* 存储位置（通过该字段快速查询，所有的子节点）
	*/
		@ApiModelProperty(value = "存储位置（通过该字段快速查询，所有的子节点）")
		private String orgPosition;
	/**
	* 审核状态：0-待审核 1-审核通过 2-审核不通过
	*/
		@ApiModelProperty(value = "审核状态：0-待审核 1-审核通过 2-审核不通过")
		private Integer checkState;

	/**
	 * 审核意见
	 */
	@ApiModelProperty(value = "审核意见")
	private String opinion;

	/**
	 * 身份证
	 */
	@ApiModelProperty(value = "身份证")
	private String guestIdcard;
	/**
	* 脸部照片url
	*/
		@ApiModelProperty(value = "脸部照片url")
		private String imageUri;
	/**
	/**
	* 访问时间
	*/

		private String interviewTime;
	/**
	 * 小程序openId
	 */
		@ApiModelProperty(value = "小程序openId")
		private String openId;

	/**
	 * 租户id
	 */
	@ApiModelProperty(value = "租户id")
	private String tenantId;


}
