2011-01-30 07:14:05 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
|
|
|
|
using FluentNHibernate.Mapping;
|
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 UserGroup
|
|
|
|
|
{
|
|
|
|
|
public virtual int UserGroupID { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual User User { get; set; }
|
2011-02-18 16:54:48 +00:00
|
|
|
|
[NotNull]
|
2011-01-30 07:14:05 +00:00
|
|
|
|
public virtual Group Group { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|