package com.wzj.soopin.member.domain.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.excel.annotation.Excel;

import java.time.LocalDateTime;
/**
 * 会员登录记录对象 ums_member_logininfor
 *
 * @author zcc
 */
@Schema(description="会员登录记录对象")
@Data
@TableName("ums_member_login_info")
public class MemberLoginInfo {
    private static final long serialVersionUID = 1L;

    @Schema(description ="ID")
    @TableId
    private Long id;

    @Schema(description ="会员手机号")
    @Excel(name = "会员手机号")
    private String phone;

    @Schema(description ="会员id")
    @Excel(name = "会员id")
    private Long memberId;

    @Schema(description ="登录IP地址")
    @Excel(name = "登录IP地址")
    private String ipaddr;

    @Schema(description ="登录地点")
    @Excel(name = "登录地点")
    private String loginLocation;

    @Schema(description ="浏览器类型")
    @Excel(name = "浏览器类型")
    private String browser;

    @Schema(description ="操作系统")
    @Excel(name = "操作系统")
    private String os;

    @Schema(description ="登陆时间")
    @Excel(name = "登陆时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime loginTime;

}
