31 lines
812 B

using System;
using MongoDB.Bson.Serialization.Attributes;
namespace Toogps.Mongo.Repository
{
[BsonIgnoreExtraElements]
public class CarCarGps
{
/// <summary>
/// 车辆ID
/// </summary>
public int VehicleId { get; set; }
/// <summary>
/// 车辆编号
/// </summary>
public string VehicleCode { get; set; }
/// <summary>
/// 经度
/// </summary>
public decimal Longitude { get; set; }
/// <summary>
/// 纬度
/// </summary>
public decimal Latitude { get; set; }
/// <summary>
/// Gps数据产生时间
/// </summary>
//[BsonDateTimeOptions(Kind = DateTimeKind.Unspecified)]
// public DateTime GpsTime { get; set; }
}
}