package com.tuoheng.model.vo;

import com.tuoheng.model.entity.Menu;
import com.tuoheng.model.entity.Permissions;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class RolePermissionVo {
    /**
     * 角色id
     */
    private Integer roleId;
    /**
     *对应的菜单集合->及子菜单(按钮)
     */
    private List<Menu> opMenusList;
    /**
     * 对应的权限集合
     */
    private List<Permissions> permissionsList;

}
