package cn.reghao.tnb.common.auth;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.Set;

/**
 * @author reghao
 * @date 2024-02-14 15:26:42
 */
@AllArgsConstructor
@Getter
public class LoginUser {
    private long userId;
    private String loginId;
    private Set<String> roles;

    public LoginUser(long userId) {
        this.userId = userId;
    }
}
