using System.ComponentModel.DataAnnotations; namespace Application.Models { public class NodeDto { [Display(Name = "节点名称")] public string Name { get; set; } [Display(Name = "节点编号")] public string Number { get; set; } [Display(Name = "图标")] public string Icon { get; set; } [Display(Name = "是否在线")] public bool IsOnline { get; set; } [Display(Name = "经度")] public decimal Longitude { get; set; } [Display(Name = "维度")] public decimal Latitude { get; set; } [Display(Name = "海拔")] public decimal Altitude { get; set; } } }