package com.vetti.hotake.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 社交登录日志对象 hotake_social_login_log
 *
 * @author vetti
 */
@Data
public class HotakeSocialLoginLog implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("系统用户ID")
    private Long userId;

    @ApiModelProperty("第三方平台类型")
    private String provider;

    @ApiModelProperty("第三方平台用户ID")
    private String providerUserId;

    @ApiModelProperty("登录类型：login/register/bind")
    private String loginType;

    @ApiModelProperty("登录IP")
    private String loginIp;

    @ApiModelProperty("登录地点")
    private String loginLocation;

    @ApiModelProperty("浏览器类型")
    private String browser;

    @ApiModelProperty("操作系统")
    private String os;

    @ApiModelProperty("登录状态（0成功 1失败）")
    private String status;

    @ApiModelProperty("提示消息")
    private String msg;

    @ApiModelProperty("登录时间")
    private Date loginTime;
}
