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/IoT.Shared/Application/Domain/Entities/IoT/OrganIoTSceneTigger.cs

27 lines
668 B

using Infrastructure.Domain;
using System;
using System.ComponentModel.DataAnnotations;
namespace IoT.Shared.Application.Domain.Entities
{
[Display(Name = "机构触发器")]
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
public class OrganIoTSceneTigger : BaseEntity
{
public string Name { get; set; }
public string Condition { get; set; }
[Display(Name = "禁用")]
public bool Disabled { get; set; }
public Guid DataId { get; set; }
public IoTData Data { get; set; }
public Guid OrganSceneId { get; set; }
public OrganIoTScene OrganScene { get; set; }
}
}