package com.yuchen.saas.manage.user.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nest.springwrap.core.tenant.mp.TenantEntity;

import java.util.Date;
import java.util.List;


@Data
@TableName("nest_user")
@EqualsAndHashCode(callSuper = true)
public class User extends TenantEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "用户编号")
	private String code;

	@ApiModelProperty(value = "用户类型:1、web,2、app3、other")
	private Integer userType;

	@ApiModelProperty(value = "账号")
	private String account;

	@ApiModelProperty(value = "密码")
	private String password;

	@ApiModelProperty(value = "昵称")
	private String name;

	@ApiModelProperty(value = "真名")
	private String realName;

	@ApiModelProperty(value = "头像")
	private String avatar;

	@ApiModelProperty(value = "邮箱")
	private String email;

	@ApiModelProperty(value = "手机")
	private String phone;

	@ApiModelProperty(value = "生日")
	private Date birthday;

	@ApiModelProperty(value = "性别")
	private Integer sex;

	@ApiModelProperty(value = "角色id")
	private String roleId;

	@ApiModelProperty(value = "部门id")
	private String deptId;

	@ApiModelProperty(value = "岗位id")
	private String postId;

	@ApiModelProperty(value = "园区id")
	private Long parkId;

	@ApiModelProperty(value = "账号组id")
	private Long accountGroupId;

	@ApiModelProperty(value = "是否禁用")
	private Integer isDisable;

	@ApiModelProperty(value = "用户ID")
	private Long userInfoId;

	@ApiModelProperty(value = "账号类型:1、园区账户2、社区账户3、运营账户")
	private Integer accountType;

	@ApiModelProperty(value = "职位类型:1是管理岗2是普通岗")
	private Long jobType;
	@ApiModelProperty(value = "用户个人认证信息Id")
	private Long userDetailId;
	@ApiModelProperty(value = "身份证号")
	private String idcard;
	@ApiModelProperty(value = "个人照片")
	private String pic;
	@ApiModelProperty(value = "省编码")
	private String contactProvince;
	@ApiModelProperty(value = "市编码")
	private String contactCity;
	@ApiModelProperty(value = "区/县")
	private String contactCounty;
	@ApiModelProperty(value = "详细地址")
	private String contactAddress;
	@ApiModelProperty(value = "个人电话")
	private String personPhone;
	@ApiModelProperty(value = "申请来源 1火炬管委会SAAS后台 2 火炬管委会小程序")
	private Integer applySource;

	@ApiModelProperty(value = "人脸图片地址")
	private String faceImgUrl;

	@ApiModelProperty(value = "指纹特征")
	private String fingerprint;


}