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 = "crt_host")
	private  String crtHost;
	/**
	 * 更新ip
	 */
	@Column(name = "upd_host")
	private  String updHost;

	/**
	 * 最后登录ip
	 */
	@Column(name = "last_host")
	private String lastHost;

	/**
	 * 最后登录时间
	 */
	@Column(name = "last_time")
	private Long lastTime;

	/**
	 * 省份编号
	 */
	@Column(name = "province_code")
	private Integer provinceCode;

	/**
	 * 市编号
	 */
	@Column(name = "city_code")
	private Integer cityCode;

}
