Files
CollabVMAuthServer/CollabVMAuthServer/HTTP/Responses/AdminUsersResponse.cs
Elijah R 290a9a5777 major refactor:
- Now uses EntityFrameworkCore for database operations
- HTTP handlers have all been refactored to use ASP.NET MVC controllers, and generally to be more idiomatic and remove copied boilerplate ugliness
- Authentication/Authorization refactored to use native ASP.NET core handlers
- Switch to Microsoft.Extensions.Logging instead of handrolled logging method
2025-05-06 04:34:46 -04:00

21 lines
696 B
C#

namespace Computernewb.CollabVMAuthServer.HTTP.Responses;
public class AdminUsersResponse : ApiResponse
{
public int? totalPageCount { get; set; } = null;
public AdminUser[]? users { get; set; }
}
public class AdminUser
{
public uint id { get; set; }
public required string username { get; set; }
public required string email { get; set; }
public required uint rank { get; set; }
public bool banned { get; set; }
public required string banReason { get; set; }
public required string dateOfBirth { get; set; }
public required string dateJoined { get; set; }
public required string registrationIp { get; set; }
public bool developer { get; set; }
}