using System; using System.Collections.Generic; using OpenAuth.Domain.Utility; namespace OpenAuth.Domain.Model { public partial class Role :EntityBase, IAggregateRoot { public Role() { this.DataPermissions = new List(); this.RoleMenus = new List(); this.Users = new List(); } protected override void Validate() { throw new NotImplementedException(); } public string ParentId { get; set; } public string FullName { get; set; } public string Category { get; set; } public string Description { get; set; } public bool Enabled { get; set; } public Nullable SortCode { get; set; } public bool DeleteMark { get; set; } public string DepartmentId { get; set; } public virtual ICollection DataPermissions { get; set; } public virtual Department Department { get; set; } public virtual ICollection RoleMenus { get; set; } public virtual ICollection Users { get; set; } } }