Blame view

美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/AuthSession/CurrentUserMenuPermissionsOutputDto.cs 484 Bytes
8e0c49eb   李曜臣   产品标签类别优化;
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  namespace FoodLabeling.Application.Contracts.Dtos.AuthSession;
  
  /// <summary>
  /// 当前登录用户的菜单与权限码(用于前端动态路由/按钮权限)
  /// </summary>
  public class CurrentUserMenuPermissionsOutputDto
  {
      public CurrentUserBriefDto User { get; set; } = new();
  
      public List<string> RoleCodes { get; set; } = new();
  
      public List<string> PermissionCodes { get; set; } = new();
  
      public List<CurrentUserMenuNodeDto> Menus { get; set; } = new();
  }