using Infrastructure.Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "部门", Order = 90)] [Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)] [Module("基础设置", "Admin")] public class Department : BaseTreeEntity { public string Type { get; set; } public Guid OrganId { get; set; } public Organ Organ { get; set; } public List DepartmentUsers { get; set; } = new List(); public List Jobs { get; set; } = new List(); } }