package com.huimv.employment.security;

/**
 * 当前登录用户上下文，由 JWT 过滤器解析 Token 后查库写入。
 */
public class LoginUser {

    private final Long userId;
    private final String userType;

    public LoginUser(Long userId, String userType) {
        this.userId = userId;
        this.userType = userType;
    }

    public Long getUserId() {
        return userId;
    }

    public String getUserType() {
        return userType;
    }
}
