birbmap/Birdmap.DAL/Entities/User.cs

21 lines
401 B
C#

namespace Birdmap.DAL.Entities
{
public enum Roles
{
User,
Admin,
}
public record User
{
public int Id { get; set; }
public string Name { get; set; }
public byte[] PasswordHash { get; set; }
public byte[] PasswordSalt { get; set; }
public Roles Role { get; set; }
public bool IsFromConfig { get; set; }
}
}