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 EditPlatformIoTApiModel : EditIoTApiModel { [Display(Name = "分类")] [ReadOnlyForEdit] [SelectList(nameof(ProductId), nameof(AjaxController.GetIoTProductByCategory))] public Guid? CategoryId { get; set; } } }