package com.cpop.core.base.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;

/**
 * @author: DB
 * @date: 2022-09-26 22:48
 * @Description: 登录成功vo
 */
@Data
@Accessors(chain = true)
public class LoginSuccess implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private String userId;

    /**
     * token
     */
    private String token;

    /**
     * 权限
     */
    private Set<String> role;
}
