34 lines
670 B
C#
34 lines
670 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
|
|
namespace AutoCatCore.Model
|
|
{
|
|
public class VehicleEvent
|
|
{
|
|
[Key]
|
|
[JsonProperty("id")]
|
|
public string Id { get; set; }
|
|
|
|
[JsonProperty("date")]
|
|
public double Date { get; set; }
|
|
|
|
[JsonProperty("latitude")]
|
|
public double Latitude { get; set; }
|
|
|
|
[JsonProperty("longitude")]
|
|
public double Longitude { get; set; }
|
|
|
|
[JsonProperty("speed")]
|
|
public double Speed { get; set; }
|
|
|
|
[JsonProperty("direction")]
|
|
public double Direction { get; set; }
|
|
|
|
[JsonProperty("address")]
|
|
public string Address { get; set; }
|
|
}
|
|
}
|