9df65e38
李曜臣
实现美国版门店与RBAC对外接口
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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;
|
ef6b3255
杨鑫
修改BUG
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/// <summary>
/// 排序;未传时服务端按 0 处理
/// </summary>
public int? OrderNum { get; set; }
/// <summary>
/// 访问权限编码 JSON 数组字符串(如 ["manage_labels","manage_people"])
/// </summary>
public string? AccessPermissions { get; set; }
/// <summary>
/// 兼容旧字段名 <c>accessPermissionCodes</c>
/// </summary>
public List<string>? AccessPermissionCodes { get; set; }
|