using Infrastructure.Domain; using System; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "定时器",Order =32)] [Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)] [IoTModule] public class IoTTimer : BaseEntity { public string Name { get; set; } public string Cron { get; set; } [Display(Name = "禁用")] public bool Disabled { get; set; } public Guid IoTSceneId { get; set; } public IoTScene IoTScene { get; set; } } }