2011-06-29 20:27:07 +00:00
|
|
|
|
using System.Collections.Generic;
|
2011-02-18 16:54:48 +00:00
|
|
|
|
using Tanshu.Accounts.Contracts;
|
2011-01-30 07:14:05 +00:00
|
|
|
|
|
|
|
|
|
namespace Tanshu.Accounts.Entities.Auth
|
|
|
|
|
{
|
|
|
|
|
public class User
|
|
|
|
|
{
|
|
|
|
|
public virtual int UserID { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[Unique] [NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual string Name { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
public virtual string MsrString { get; set; }
|
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual string Password { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual bool LockedOut { get; set; }
|
2011-02-09 12:03:22 +00:00
|
|
|
|
public virtual IList<UserGroup> UserGroups { get; set; }
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public User()
|
|
|
|
|
{
|
2011-02-09 12:03:22 +00:00
|
|
|
|
UserGroups = new List<UserGroup>();
|
2011-01-30 07:14:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|