using System; using IoT.Shared.Application.Models; using System.ComponentModel.DataAnnotations; using Platform.Areas.IoTCenter.Controllers; namespace Platform.Application.Models.IoTCenter { [Display(Name = "网关")] public class EditPlatformIoTGatewayModel : EditIoTGatewayModel { [Display(Name = "机构")] [SelectList(nameof(BuildingId), nameof(AjaxController.GetBuilding))] public Guid? OrganId { get; set; } [Display(Name = "建筑")] [SelectList] public Guid? BuildingId { get; set; } } }