You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
604 B
26 lines
604 B
3 years ago
|
using JetBrains.Annotations;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using Volo.Abp;
|
||
|
|
||
|
namespace Sanhe.Abp.MenuManagement
|
||
|
{
|
||
|
public class MenuWithGrantedProviders
|
||
|
{
|
||
|
public Guid MenuId { get; }
|
||
|
|
||
|
public bool IsGranted { get; set; }
|
||
|
|
||
|
public List<MenuProviderInfo> Providers { get; set; }
|
||
|
|
||
|
public MenuWithGrantedProviders([NotNull] Guid menuId, bool isGranted)
|
||
|
{
|
||
|
Check.NotNull(menuId, nameof(menuId));
|
||
|
|
||
|
MenuId = menuId;
|
||
|
IsGranted = isGranted;
|
||
|
|
||
|
Providers = new List<MenuProviderInfo>();
|
||
|
}
|
||
|
}
|
||
|
}
|