using JiShe.ServicePro.Core; using JiShe.ServicePro.Enums; using System.ComponentModel.DataAnnotations; namespace JiShe.IoT.DeviceAggregation { /// /// 设备命令 /// public class DeviceCommandForApiInput:IdInput { /// /// 设备在物联网平台中发送的命令内容,JSON格式 /// [Required(ErrorMessage = "命令内容不能为空")] public string CommandContent { get; set; } } }