59909a5ee7
Must use the Repositories with Using or else bad things will happen.
23 lines
623 B
C#
23 lines
623 B
C#
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>();
|
|
}
|
|
}
|
|
}
|