birbmap/Birdmap.DAL/Entities/User.cs

19 lines
352 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-21 17:04:54 +02:00
}
}