using Infrastructure.Domain; using Infrastructure.Web.Mvc; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [GeneratedController] [Display(Name = "机构", Order = 70)] [Scope(ScopeAttribute.PlatformAll | ScopeType.OrganRead | ScopeType.OrganEdit)] [AdminModule] public class Organ : BaseTreeEntity { public string Type { get; set; } public string Image { get; set; } public string Description { get; set; } public Guid? AreaId { get; set; } public Area Area { get; set; } public bool IsReadOnly { get; set; } public List Buildings { get; set; } = new List(); public List OrganUsers { get; set; } = new List(); public List Roles { get; set; } = new List(); public List Titles { get; set; } = new List<Title>(); } }