feat(userManagement): add user detail view and filtering capabilities

This commit is contained in:
shiyu
2025-06-02 12:43:05 +08:00
parent 6243b9b62a
commit 686cc5fd11
11 changed files with 380 additions and 86 deletions

View File

@@ -0,0 +1,21 @@
namespace Foxel.Models.Response.User;
public class UserDetailResponse
{
public int Id { get; set; }
public string UserName { get; set; } = string.Empty;
public string Email { get; set; } = string.Empty;
public string Role { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
public UserStatistics Statistics { get; set; } = new();
}
public class UserStatistics
{
public int TotalPictures { get; set; }
public int TotalAlbums { get; set; }
public int TotalFavorites { get; set; }
public int FavoriteReceivedCount { get; set; }
public double DiskUsageMB { get; set; }
public int AccountAgeDays { get; set; }
}