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

21 lines
566 B
C#
Raw Normal View History

using System;
using System.Runtime.Serialization;
using FluentNHibernate.Mapping;
using System.Collections.Generic;
namespace Tanshu.Accounts.Entities.Auth
{
public class Group
{
public virtual int GroupID { get; set; }
public virtual string Name { get; set; }
public virtual IList<RoleGroup> RoleGroups { get; set; }
public virtual IList<UserGroup> UserGroups { get; set; }
public Group()
{
RoleGroups = new List<RoleGroup>();
UserGroups = new List<UserGroup>();
}
}
}