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.
Zero/ZeroLevel.SqLite/Model/UserInfo.cs

25 lines
626 B

using System;
namespace ZeroLevel.SqLite
{
public class UserInfo
{
private readonly static UserInfo _anon = new UserInfo
{
Created = DateTime.MinValue,
DisplayName = "Anonimus",
Role = UserRole.Anonimus,
UserId = -2,
UserName = "anonimus"
};
public static UserInfo GetAnonimus() => _anon;
public long UserId { get; set; }
public string UserName { get; set; }
public string DisplayName { get; set; }
public DateTime Created { get; set; }
public UserRole Role { get; set; }
}
}

Powered by TurnKey Linux.