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
962 B

using Infrastructure.Domain;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Application.Domain.Entities
{
[Display(Name = "节点")]
public class Node : BaseEntity, IDisableRemove
{
[Display(Name = "节点名称")]
public string Name { get; set; }
[Display(Name = "节点编号")]
public string Number { get; set; }
[Display(Name = "是否在线")]
public bool IsOnline { get; set; }
[Display(Name = "图标")]
public string Icon { get; set; }
[Display(Name = "经度")]
public decimal Longitude { get; set; }
[Display(Name = "维度")]
public decimal Latitude { get; set; }
[Display(Name = "海拔")]
public decimal Altitude { get; set; }
public List<Device> Devices { get; set; } = new List<Device>();
public List<Scene> Scenes { get; set; } = new List<Scene>();
}
}