mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-12 16:03:27 +08:00
refactor: restructure directories to improve module organization Foxel.Models.Request.Picture - Foxel.Models.Request.Tag - Foxel.Models.Request.Auth - Foxel.Models.Request.Picture
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace Foxel.Models.Response.Auth;
|
||||
|
||||
public class UserProfile
|
||||
public record UserProfile
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
@@ -8,7 +8,7 @@ public class UserProfile
|
||||
public string? RoleName { get; set; }
|
||||
}
|
||||
|
||||
public class AuthResponse
|
||||
public record AuthResponse
|
||||
{
|
||||
public string Token { get; set; } = string.Empty;
|
||||
public UserProfile User { get; set; } = new();
|
||||
|
||||
Reference in New Issue
Block a user