/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.auth.entity.vo;

import com.codvision.auth.entity.SysMenu;
import com.codvision.auth.entity.SysRole;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 系统角色展示信息
 * </p>
 *
 * @author lingee
 * @since 2023-11-09
 */
@Getter
@Setter
@ApiModel(value = "SysRoleVO", description = "系统角色展示信息")
public class SysRoleVO extends SysRole {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色的菜单")
    private List<SysMenuVO> roleMenus;

    @ApiModelProperty("角色的子角色")
    private List<SysRoleVO> child = new ArrayList<>();
}
