first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,16 @@
using F9WebAiTest.Domain.Enums.SYS.RBAC;
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Menus;
public record MenuReadDto_Menu_Edit(
long Id,
string Code,
string Name,
string IconSvg,
MenuType_Enum MenuType,
string AssemblyName,
string TypeFullName,
bool IsActive,
long ParentId,
int SortOrder
);
@@ -0,0 +1,23 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Menus;
// 读模型
public record MenuReadDto_Menu_Table(
long Id,
long ParentId,
string Code,
string Name,
string IconSvg,
string MenuType,
string AssemblyName,
string TypeFullName,
string ParentName,
int Level,
string IsActive,
int SortOrder,
// 用于前端 table select
bool Selected = false,
// 用于前端 table tree
MenuReadDto_Menu_Table[]? Items = default
);
@@ -0,0 +1,5 @@
using F9WebAiTest.Domain.Enums.SYS.RBAC;
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Roles;
public record RolePermissionReadDto_View(long Id, long RoleId, long PermissionId, long ResourceId, Permission_Type_Enum PermissionType);
@@ -0,0 +1,3 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Roles;
public record RoleReadDto_Cache(long Id, string Name, string Code, int SortOrder);
@@ -0,0 +1,3 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Roles;
public record RoleReadDto_Edit(long Id, string Name, string Code, int SortOrder, string Description);
@@ -0,0 +1,3 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Roles;
public record RoleReadDto_View(long Id, string Name, string Code, int SortOrder, int MenuPermissionCount, int ReportPermissionCount, int DepPermissionCount, bool IsActive);
@@ -0,0 +1,4 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Users;
// 用户读模型
public record UserReadDto_Edit(long Id, string UserName, string PhoneNumber, string LoginName, long DepartmentId, int SortOrder);
@@ -0,0 +1,3 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Users;
public record UserReadDto_Login(long Id, string UserName, string LoginName, string PasswordHash, long DepartmentId);
@@ -0,0 +1,4 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Users;
// 用户读模型(列表视图)
public record UserReadDto_View(long Id, string UserName, string PhoneNumber, string LoginName, string DepartmentName, string RoleName, string LastLoginAt, int SortOrder, bool IsActive);
@@ -0,0 +1,3 @@
namespace F9WebAiTest.Application.Dtos.SYS.RBAC.Users;
public record UserRoleReadDto_Cache(long Id, long UserId, long RoleId, string RoleName);