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

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.wzj.soopin.member.domain.po.MemberLoginInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.dromara.common.core.domain.BaseBO;

import java.time.LocalDateTime;

/**
 * 会员登录记录 查询 对象
 *
 * @author zcc
 */
@Schema(description="会员登录记录 查询 对象")
@Data
public class MemberLoginInfoBO extends BaseBO<MemberLoginInfo> {
    @Schema(description ="会员手机号 精确匹配")
    private String phone;

    @Schema(description ="会员id 精确匹配")
    private Long memberId;

    @Schema(description ="登录IP地址 精确匹配")
    private String ipaddr;

    @Schema(description ="登录地点 精确匹配")
    private String loginLocation;

    @Schema(description ="浏览器类型 精确匹配")
    private String browser;

    @Schema(description ="操作系统 精确匹配")
    private String os;

    @Schema(description ="登陆时间 精确匹配")
    private LocalDateTime loginTime;

    @Override
    public LambdaQueryWrapper<MemberLoginInfo> toWrapper() {
        return super.toWrapper();
    }
}
