using System; using IoT.Shared.Application.Models; using System.ComponentModel.DataAnnotations; namespace Platform.Application.Models.IoTCenter { [Display(Name = "接口")] public class EditPlatformIoTApiModel : EditIoTApiModel { [Display(Name = "分类")] [ReadOnlyForEdit] [SelectList(nameof(ProductId),"GetIoTProductByCategory")] public Guid? CategoryId { get; set; } } }