Skip to content

Commit 1663f09

Browse files
committed
feat: 新增 GetUserFunctionMixRole 查詢功能及相關模型
1 parent 70c0c0c commit 1663f09

File tree

6 files changed

+481
-0
lines changed

6 files changed

+481
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
using Netcorext.Contracts;
2+
using Netcorext.Mediator;
3+
4+
namespace Netcorext.Auth.API.Services.User.Queries;
5+
6+
public class GetUserFunctionMixRole : IRequest<Result<Models.UserFunctionMixRole>>
7+
{
8+
public long Id { get; set; }
9+
public PermissionCondition[]? PermissionConditions { get; set; }
10+
11+
public class PermissionCondition
12+
{
13+
public string? Group { get; set; }
14+
public Condition[]? Conditions { get; set; }
15+
16+
public class Condition
17+
{
18+
public string Key { get; set; } = null!;
19+
public string Value { get; set; } = null!;
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)