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.

33 lines
780 B

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Infrastructure.Domain;
namespace Application.Domain.Entities
{
/// <summary>
/// 节点
/// </summary>
[Display(Name = "节点")]
public class Node : BaseEntity, IDisableRemove
{
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 编号
/// </summary>
public string Number { get; set; }
/// <summary>
/// 设备
/// </summary>
public List<Device> Devices { get; set; } = new List<Device>();
/// <summary>
/// 场景
/// </summary>
public List<Scene> Scenes { get; set; } = new List<Scene>();
}
}