package com.zhiqiyun.open.core.models.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhiqiyun.open.core.enmus.AccountType;
import com.zhiqiyun.open.core.enmus.UserLoginLogState;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 * @date 2017-6-7
 */
@Data
@TableName("user_login_logs")
public class UserLoginLog implements Serializable {
    private static final long serialVersionUID = -6352081881437839365L;
    @TableId(type = IdType.AUTO)
    private String id;
    private String loginAccount;
    private AccountType accountType;
    private String loginIp;
    private String loginLocal;
    private String fromSource;
    private String deviceId;
    private Date loginTime;

    private UserLoginLogState state;
}
