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.

30 lines
766 B

using Infrastructure.Domain;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "场景")]
public class Scene : BaseEntity
{
[Display(Name = "名称")]
[Required] public string Name { get; set; }
[Display(Name = "序号")]
public int DisplayOrder { get; set; }
[Display(Name = "禁用")]
public bool Disabled { get; set; }
[Display(Name = "节点Id")]
public Guid? NodeId { get; set; }
/// <summary>
/// 节点
/// </summary>
public Node Node { get; set; }
public List<SceneCommand> SceneCommands { get; set; } = new List<SceneCommand>();
}
}