package com.jwipc.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author shenyang.ou
 * @since 2024-01-30
 */
@Getter
@Setter
@TableName("sp_user_login")
public class UserLogin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String accountName;

    private LocalDateTime loginTime;

    private String loginIp;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 用户代理
     */
    private String userAgent;

    /**
     * 供应商Id
     */
    private Long supplierId;

    /**
     * 供应商名称
     */
    private String supplierName;
}
