using Infrastructure.Domain; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace IoT.Shared.Application.Domain.Entities { [Display(Name = "部门")] [Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)] public class Department : BaseTreeEntity { public DepartmentType Type { get; set; } public string CustomType { 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(); } }