package com.cyksj.model.manage.dto;

import com.cyksj.model.entity.CmsUser;
import com.cyksj.model.manage.entity.Admin;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * @author chan
 * @date 2021-10-12 下午9:15
 */
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Data
public class AdminInfo implements Serializable {

    private String token;

    private Admin info;

    private CmsUser info2;


    /**
     * 权限列表
     */
    private Set<String> permissions;

    /**
     * 角色列表
     */
    private Set<String> roles;
}
