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.
27 lines
678 B
27 lines
678 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[Display(Name = "定时器")]
|
|
public class IoTTigger : BaseEntity
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
public string Condition { get; set; }
|
|
|
|
[Display(Name = "禁用")]
|
|
public bool Disabled { get; set; }
|
|
|
|
public Guid DataId { get; set; }
|
|
|
|
public Data Data { get; set; }
|
|
|
|
public Guid? NodeId { get; set; }
|
|
|
|
public Node Node { get; set; }
|
|
public List<TiggerCommand> TiggerCommands { get; set; } = new List<TiggerCommand>();
|
|
}
|
|
} |