narsil/Tanshu.Accounts.Contracts/Data Contracts/Auth/UserBO.cs

23 lines
623 B
C#
Raw Normal View History

using System.Collections.Generic;
using Tanshu.Accounts.Contracts;
namespace Tanshu.Accounts.Entities.Auth
{
public class User
{
public virtual int UserID { get; set; }
[Unique] [NotNull]
public virtual string Name { get; set; }
public virtual string MsrString { get; set; }
[NotNull]
public virtual string Password { get; set; }
[NotNull]
public virtual bool LockedOut { get; set; }
public virtual IList<UserGroup> UserGroups { get; set; }
public User()
{
UserGroups = new List<UserGroup>();
}
}
}