using SqlSugar; using System; namespace Waste.Domain { /// /// 设备信息 /// [SugarTable("W_DeviceData", TableDescription = "设备信息", IsDisabledUpdateAll = false, IsDisabledDelete = true)] public class W_DeviceData { /// /// 设备ID /// [SugarColumn(IsPrimaryKey = true)] public Guid DeviceId { get; set; } /// /// ICCID /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "ICCID")] public string ICCID { get; set; } /// /// IMEI /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "IMEI")] public string IMEI { get; set; } /// /// SIM卡IMSI /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "SIM卡IMSI")] public string IMSI { get; set; } /// /// 经度 /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "经度")] public string Longitude { get; set; } /// /// 纬度 /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "纬度")] public string Latitude { get; set; } /// /// 最近心跳时间 /// [SugarColumn(IsNullable =true, ColumnDescription = "最近心跳时间")] public DateTime? LastBeatTime { get; set; } /// /// 最近开机时间 /// [SugarColumn(IsNullable =true, ColumnDescription = "最近开机时间")] public DateTime? LastStartTime { get; set; } /// /// 信号强度 /// [SugarColumn(ColumnDataType = "varchar(100)", ColumnDescription = "信号强度")] public string Sign { get; set; } /// /// 设备最新的app版本号 /// [SugarColumn(ColumnDataType = "varchar(50)", ColumnDescription = "设备最新的app版本号", IsNullable =true)] public string Version { get; set; } } }