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