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)] [Group("基础设置", "Admin")] public class Building : BaseTreeEntity { public BuildingType Type { get; set; } public string CustomType { get; set; } public string Image { get; set; } public string Description { get; set; } public Guid OrganId { get; set; } public Organ Organ { get; set; } public List BuildingIoTGateways { get; set; } = new List(); } }