2015-05-23 12:10:53 +08:00
|
|
|
using OpenAuth.Domain.Utility;
|
|
|
|
|
2015-04-25 12:31:01 +08:00
|
|
|
namespace OpenAuth.Domain.Model
|
2015-04-15 23:57:36 +08:00
|
|
|
{
|
2015-05-23 12:10:53 +08:00
|
|
|
public partial class DataPermission :EntityBase<string>, IAggregateRoot
|
2015-04-15 23:57:36 +08:00
|
|
|
{
|
|
|
|
public string RoleId { get; set; }
|
|
|
|
public string ResourceId { get; set; }
|
|
|
|
public string ObjectId { get; set; }
|
|
|
|
public virtual Role Role { get; set; }
|
2015-05-23 12:10:53 +08:00
|
|
|
protected override void Validate()
|
|
|
|
{
|
|
|
|
throw new System.NotImplementedException();
|
|
|
|
}
|
2015-04-15 23:57:36 +08:00
|
|
|
}
|
|
|
|
}
|