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.

34 lines
768 B

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