mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-12 16:03:27 +08:00
Initial commit
This commit is contained in:
15
Models/Response/Auth/AuthResponse.cs
Normal file
15
Models/Response/Auth/AuthResponse.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Foxel.Models.Response.Auth;
|
||||
|
||||
public class 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 class AuthResponse
|
||||
{
|
||||
public string Token { get; set; } = string.Empty;
|
||||
public UserProfile User { get; set; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user