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.
23 lines
588 B
23 lines
588 B
using Infrastructure.Domain;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
[Display(Name = "机构定时器")]
|
|
[Scope(ScopeAttribute.PlatformAll | ScopeAttribute.OrganAll)]
|
|
[Module("物联管控", "IoTCenter")]
|
|
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; }
|
|
}
|
|
} |