mirror of https://github.com/ogoun/Zero.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
463 B
19 lines
463 B
using SQLite;
|
|
|
|
namespace ZeroLevel.SqLite
|
|
{
|
|
public class User
|
|
{
|
|
[PrimaryKey, AutoIncrement]
|
|
public long Id { get; set; }
|
|
[Indexed]
|
|
public string UserName { get; set; }
|
|
public string DisplayName { get; set; }
|
|
[Indexed]
|
|
public byte[] PasswordHash { get; set; }
|
|
public long Timestamp { get; set; }
|
|
public long Creator { get; set; }
|
|
public UserRole Role { get; set; }
|
|
}
|
|
}
|