feat: add Logs

This commit is contained in:
2026-09-20 16:21:15 +07:00
parent 637ca51f47
commit d3c3ecd5e6
62 changed files with 1577 additions and 66 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
using mws.backend.dotnet.application.Audit;
namespace mws.backend.dotnet.application.Permissions;
public enum PermissionAction
@@ -28,9 +30,10 @@ public class PermissionEntryDto
public bool CanDelete { get; set; }
}
public class RoleDto
public class RoleDto : IHasEntityId
{
public Guid Id { get; set; }
public Guid EntityId => Id;
public string Name { get; set; } = string.Empty;
public bool IsSystem { get; set; }
public List<PermissionEntryDto> Permissions { get; set; } = [];