You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
794 B
25 lines
794 B
using Infrastructure.Application;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace IoTCenter.Application.Models
|
|
{
|
|
[Display(Name = "平台定时器命令")]
|
|
public class EditGlobalIoTTimerCommandModel : EditModel
|
|
{
|
|
[Display(Name = "平台定时器")]
|
|
[DataType("SelectList")]
|
|
[Required(ErrorMessage = nameof(RequiredAttribute))]
|
|
public Guid? IoTTimerId { get; set; }
|
|
|
|
[Display(Name = "命令节点")]
|
|
[DataType("SelectList")]
|
|
[Required(ErrorMessage = nameof(RequiredAttribute))]
|
|
public Guid? NodeId { get; set; }
|
|
|
|
[Display(Name = "命令")]
|
|
[DataType("SelectList")]
|
|
[Required(ErrorMessage = nameof(RequiredAttribute))]
|
|
public Guid? CommandId { get; set; }
|
|
}
|
|
} |