23 lines
625 B
C#
23 lines
625 B
C#
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<RoleGroup> RoleGroups { get; set; }
|
|
public virtual IList<UserGroup> UserGroups { get; set; }
|
|
public Group()
|
|
{
|
|
RoleGroups = new List<RoleGroup>();
|
|
UserGroups = new List<UserGroup>();
|
|
}
|
|
}
|
|
}
|