using Infrastructure.Domain; using System; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "建筑网关")] [Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)] [Group("物联管控", "IoTCenter")] public class BuildingIoTGateway : BaseEntity { public Guid BuildingId { get; set; } public Guid IoTGatewayId { get; set; } public Building Building { get; set; } public IoTGateway IoTGateway { get; set; } } }