/*
 *      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-04
 */
@Data
@TableName("estate_server_user")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ServerUser对象", description = "服务人员")
public class ServerUser extends BaseEntity {

	private static final long serialVersionUID = 1L;

	private String name;
	/**
	* 性别  0-未定义  1-男 2-女
	*/
		@ApiModelProperty(value = "性别  0-未定义  1-男 2-女")
		private Integer sex;
	/**
	* 所属区域id
	*/
		@ApiModelProperty(value = "所属区域id")
		private Long residentialId;
	/**
	* 人脸地址
	*/
		@ApiModelProperty(value = "人脸地址")
		private String faceUrl;
	/**
	* 园区ID
	*/
		@ApiModelProperty(value = "园区ID")
		private Long agencyId;
	/**
	* 人员类型：0-保安 1-快递 2-外卖 3-清洁 4-其他
	*/
		@ApiModelProperty(value = "人员类型：0-保安 1-快递 2-外卖 3-保洁 4-其他")
		private Integer type;
	/**
	* 联系电话
	*/
		@ApiModelProperty(value = "联系电话")
		private String tel;
	/**
	* 身份证
	*/
		@ApiModelProperty(value = "身份证")
		private String idCard;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		private String remark;

		private String tenantId;


}
