feat: return user's role name inside UserInfoDTO

This commit is contained in:
2025-07-21 09:47:31 +02:00
parent d53b85fe9e
commit 1f9c04e2fc
4 changed files with 16 additions and 8 deletions

View File

@@ -6,5 +6,6 @@ public record class UserInfoDTO
required public string Name { get; set; }
required public string Email { get; set; }
public int Role { get; set; }
public string? RoleName { get; set; }
};