using JiShe.ServicePro.Core; using JiShe.ServicePro.Enums; using System.ComponentModel.DataAnnotations; namespace JiShe.IoT.DeviceAggregation { /// /// 设备升级 /// public class DeviceUpgradeForApiInput : IdInput { /// /// 物联网平台类型,默认没有指定 /// [Required] public IoTPlatformTypeEnum IoTPlatform { get; set; } /// /// 物联网平台中对应的产品Id /// [Required] public string IoTPlatformProductId { get; set; } /// /// 固件版本信息 /// [Required] public Guid NowFirmwareVersionDataId { get; set; } /// /// 升级描述 /// public string UpgradeDescription { get; set; } } }