You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
812 B
32 lines
812 B
2 years ago
|
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; }
|
||
|
}
|
||
|
}
|