Blame view

泰额版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/RbacRole/RbacRoleCreateInputVo.cs 1.07 KB
59e51671   “wangming”   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  namespace FoodLabeling.Application.Contracts.Dtos.RbacRole;
  
  /// <summary>
  /// 新增角色入参(美国版对外)
  /// </summary>
  public class RbacRoleCreateInputVo
  {
      public string RoleName { get; set; } = string.Empty;
  
      public string RoleCode { get; set; } = string.Empty;
  
      public string? Remark { get; set; }
  
      /// <summary>
      /// 数据范围(与 rbac  DataScope 含义一致,int 存储)
      /// </summary>
      public int DataScope { get; set; } = 0;
  
      public bool State { get; set; } = true;
  
      /// <summary>
      /// 排序号;不传或传 null 时新增默认为 0,编辑时保留原值
      /// </summary>
      public int? OrderNum { get; set; }
  
      /// <summary>
      /// 绑定菜单 Id;与 accessPermissions 同时传时以本字段为准
      /// </summary>
      public List<Guid>? MenuIds { get; set; }
  
      /// <summary>
      ///  PermissionCode 绑定菜单(英文逗号分隔);传空字符串表示清空绑定;不传则不修改已有绑定(仅编辑时)
      /// </summary>
      public string? AccessPermissions { get; set; }
  }