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