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.
iot/projects/Application/Domain/Entities/IoT/IoTTigger.cs

33 lines
803 B

using Infrastructure.Domain;
using System;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "触发器",Order =33)]
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
[IoTModule]
public class IoTTigger : BaseEntity
{
public string Name { get; set; }
public IoTOperationType Type { get; set; }
public string Condition { get; set; }
public DateTime Start { get; set; }
public DateTime End { get; set; }
[Display(Name = "禁用")]
public bool Disabled { get; set; }
public Guid IoTDataId { get; set; }
public IoTData IoTData { get; set; }
public Guid IoTSceneId { get; set; }
public IoTScene IoTScene { get; set; }
}
}