package com.github.wxiaoqi.security.admin.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户登录信息表
 */
@Table(name = "app_user_login")
@Data
public class AppUserLogin {
	@Id
	@GeneratedValue(generator = "JDBC")
	private Integer id;
	@Column(name = "im_userid")
	private Integer imUserid;
	@Column(name = "im_password")
	private String imPassword;
	@Column(name = "username")
	private String username;
	private String password;
	@Column(name = "wx_openid")
	private String wxOpenid;
	private String unionid;
	private String openid;
	private Long createtime;
	private Long updatetime;
	private Integer isdel;
	private Integer status;
	@Column(name = "id_number")
	private String idNumber;
	@Column(name = "certification_status")
	private Integer certificationStatus;
	/**
	 * 最后登录ip
	 */
	@Column(name = "last_host")
	private String lastHost;
	/**
	 * 最后登录时间
	 */
	@Column(name = "last_time")
	private Long lastTime;

}
