Add an Administrator #14
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