using System; using System.Runtime.Serialization; using FluentNHibernate.Mapping; using System.Collections.Generic; using Tanshu.Accounts.Contracts; namespace Tanshu.Accounts.Entities.Auth { public class Group { public virtual int GroupID { get; set; } [NotNull, Unique] public virtual string Name { get; set; } public virtual IList RoleGroups { get; set; } public virtual IList UserGroups { get; set; } public Group() { RoleGroups = new List(); UserGroups = new List(); } } }