birbmap/Birdmap.DAL/Entities/User.cs

21 lines
400 B
C#
Raw Normal View History

namespace Birdmap.DAL.Entities
2020-10-21 17:04:54 +02:00
{
public enum Roles
{
User,
Admin,
}
2020-10-21 17:04:54 +02:00
public class User
{
public int Id { get; set; }
2020-10-21 17:04:54 +02:00
public string Name { get; set; }
public byte[] PasswordHash { get; set; }
public byte[] PasswordSalt { get; set; }
public Roles Role { get; set; }
2020-10-31 15:57:19 +01:00
public bool IsFromConfig { get; set; }
2020-10-21 17:04:54 +02:00
}
}