using System; using System.ComponentModel.DataAnnotations; namespace IoT.Shared.Application.Models { [Display(Name = "历史数据")] public class DisplayDataHistoryModel { [Display(Name = "设备编号")] public string DeviceNumber { get; set; } [Display(Name = "设备名称")] public string DeviceName { get; set; } [Display(Name = "数据名称")] public string Name { get; set; } [Display(Name = "数据值")] public string Value { get; set; } [Display(Name = "单位")] public string Unit { get; set; } [Display(Name = "日期")] public DateTime? Date { get; set; } } }