feat: add model to endpoint

This commit is contained in:
Polianin Nikita 2024-06-01 08:18:27 +03:00
parent ea538ac340
commit 6fb5a83183

View 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; }
}