mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-13 06:29:54 +08:00
16 lines
391 B
C#
16 lines
391 B
C#
namespace Foxel.Models.Response.Auth;
|
|
|
|
public record UserProfile
|
|
{
|
|
public int Id { get; set; }
|
|
public string UserName { get; set; } = string.Empty;
|
|
public string Email { get; set; } = string.Empty;
|
|
public string? RoleName { get; set; }
|
|
}
|
|
|
|
public record AuthResponse
|
|
{
|
|
public string Token { get; set; } = string.Empty;
|
|
public UserProfile User { get; set; } = new();
|
|
}
|