21 lines
539 B
C#
21 lines
539 B
C#
|
using System;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using FluentNHibernate.Mapping;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace Tanshu.Accounts.Entities.Auth
|
|||
|
{
|
|||
|
public class User
|
|||
|
{
|
|||
|
public virtual int UserID { get; set; }
|
|||
|
public virtual string Name { get; set; }
|
|||
|
public virtual string Password { get; set; }
|
|||
|
public virtual bool LockedOut { get; set; }
|
|||
|
public virtual IList<Group> Groups { get; set; }
|
|||
|
public User()
|
|||
|
{
|
|||
|
Groups = new List<Group>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|