feat: add model to endpoint
This commit is contained in:
parent
ea538ac340
commit
6fb5a83183
10
Endpoint/Common/Model/Admin.cs
Normal file
10
Endpoint/Common/Model/Admin.cs
Normal file
@ -0,0 +1,10 @@
|
||||
namespace Mirea.Api.Endpoint.Common.Model;
|
||||
|
||||
public class Admin
|
||||
{
|
||||
public const string PathToSave = "admin.json";
|
||||
public required string Username { get; set; }
|
||||
public required string Email { get; set; }
|
||||
public required string PasswordHash { get; set; }
|
||||
public required string Salt { get; set; }
|
||||
}
|
Loading…
Reference in New Issue
Block a user