using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 设备信息
    /// </summary>
    public class W_DeviceData
    {
        /// <summary>
        /// 设备信息
        /// </summary>
        public W_DeviceData()
        {
        }

        private System.Guid _DeviceId;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.Guid DeviceId { get { return this._DeviceId; } set { this._DeviceId = value; } }

        private System.String _ICCID;
        /// <summary>
        /// ICCID
        /// </summary>
        public System.String ICCID { get { return this._ICCID; } set { this._ICCID = value?.Trim(); } }

        private System.String _IMEI;
        /// <summary>
        /// IMEI
        /// </summary>
        public System.String IMEI { get { return this._IMEI; } set { this._IMEI = value?.Trim(); } }
        private System.String _IMSI;
        /// <summary>
        /// SIM卡IMSI
        /// </summary>
        public System.String IMSI { get { return this._IMSI; } set { this._IMSI = value?.Trim(); } }

        private System.String _Longitude;
        /// <summary>
        /// 经度
        /// </summary>
        public System.String Longitude { get { return this._Longitude; } set { this._Longitude = value?.Trim(); } }

        private System.String _Latitude;
        /// <summary>
        /// 纬度
        /// </summary>
        public System.String Latitude { get { return this._Latitude; } set { this._Latitude = value?.Trim(); } }

        private System.DateTime? _LastBeatTime;
        /// <summary>
        /// 最近心跳时间
        /// </summary>
        public System.DateTime? LastBeatTime { get { return this._LastBeatTime; } set { this._LastBeatTime = value; } }

        private System.DateTime? _LastStartTime;
        /// <summary>
        /// 最近开机时间
        /// </summary>
        public System.DateTime? LastStartTime { get { return this._LastStartTime; } set { this._LastStartTime = value; } }

        private System.String _Sign;
        /// <summary>
        /// 信号强度
        /// </summary>
        public System.String Sign { get { return this._Sign; } set { this._Sign = value?.Trim(); } }
    }
}
