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