package com.example.removetolocal.olduser.domin;

import lombok.AllArgsConstructor;
import lombok.Data;
import javax.persistence.*;

import lombok.NoArgsConstructor;

/**
 * entity class for sys_user
*/
@Data
@Entity
@Table(name = "sys_user")
@NoArgsConstructor
@AllArgsConstructor
public class SysUserEntity {

	/**
	* userId
	*/
	@Id
	@Column(name = "userId")
	private String userId;
	/**
	* loginid
	*/
	private String loginid;
	/**
	* mPassword
	*/
	@Column(name = "mPassword")
	private String mPassword;
	/**
	* loginIp
	*/
	@Column(name = "loginIp")
	private String loginIp;
	/**
	* lastLoginTime
	*/
	@Column(name = "lastLoginTime")
	private java.util.Date lastLoginTime;
	/**
	* userName
	*/
	@Column(name = "userName")
	private String userName;
	/**
	* companyId
	*/
	@Column(name = "companyId")
	private String companyId;
	/**
	* 排序号
	*/
	@Column(name = "showorder", precision = 11, scale = 0)
	private Double showorder;
	/**
	* 移动电话
	*/
	private String mobile;
	/**
	* 机座
	*/
	private String telphone;
	/**
	* 邮箱
	*/
	private String email;
	/**
	* 真传
	*/
	private String fax;
	/**
	* 默认为0， 1表示已经删除
	*/
	private Integer isdel;
	/**
	* pinyin
	*/
	private String pinyin;
	/**
	* userType
	*/
	@Column(name = "userType")
	private Integer userType;
	/**
	* 指纹信息
	*/
	@Column(name = "fingerprint")
	private String fingerprint;
	/**
	* 人脸信息
	*/
	@Column(name = "faceinfo")
	private String faceinfo;
	/**
	* 身份证号码
	*/
	@Column(name = "IDCARDNO")
	private String idcardno;
	/**
	* 值班类型(1办报 2通信 3办报+通信)
	*/
	@Column(name = "LOGINtYPE")
	private Integer logiNtYpe;
	/**
	* 性别 0：男 1：女
	*/
	private Integer sex;
	/**
	* 编号字段
	*/
	private String code;
	/**
	* 1寸照头像
	*/
	@Column(name = "miniHeadPic")
	private String miniHeadPic;

}
