using SqlSugar; using System; using System.Collections.Generic; using System.Security.Principal; using System.Text; namespace SlnMesnac.Model.domain { /// /// 设备状态历史记录 /// [SugarTable("dms_realtime_status_history")] public class DmsRealtimeStatusHistory { /// /// 历史记录ID /// [SugarColumn(ColumnName = "history_id", IsPrimaryKey = true, IsIdentity = true)] public long HistoryId { get; set; } /// /// 状态ID /// [SugarColumn(ColumnName = "status_id")] public long StatusId { get; set; } /// /// 设备状态编号 /// [SugarColumn(ColumnName = "status_code")] public string StatusCode { get; set; } /// /// 设备状态名称 /// [SugarColumn(ColumnName = "status_name")] public string StatusName { get; set; } /// /// 设备状态值 /// [SugarColumn(ColumnName = "status_value")] public string StatusValue { get; set; } /// /// 所属设备id /// [SugarColumn(ColumnName = "device_id")] public long? DeviceId { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "creat_time")] public DateTime? CreatTime { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime? UpdateTime { get; set; } /// /// 同步时间 /// [SugarColumn(ColumnName = "sync_time")] public DateTime SyncTime { get; set; } } }