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