using System; using System.Collections.Generic; namespace OpenAuth.Domain.Model { public partial class Role { public Role() { this.DataPermissions = new List(); this.RoleMenus = new List(); this.RoleMenuButtons = new List(); this.Users = new List(); } public string RoleId { get; set; } 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 RoleMenuButtons { get; set; } public virtual ICollection Users { get; set; } } }