using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Infrastructure.Domain; namespace Application.Domain.Entities { /// /// 场景 /// [Display(Name = "场景")] public class Sence : BaseEntity, IDisableRemove { /// /// 名称 /// public string Name { get; set; } /// /// 节点Id /// public Guid NodeId { get; set; } /// /// 节点 /// public Node Node { get; set; } /// /// 命令 /// public List Commands { get; set; } = new List(); } }