You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/Platform/Application/Models/IoTCenter/EditPlatformIoTGatewayModel.cs

19 lines
495 B

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