using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GpsCardGatewayPosition.Model.Cache { public class Person { [JsonProperty("personId")] public string PersonId { get; set; } [JsonProperty("deviceId")] public string DeviceId { get; set; } [JsonProperty("serialno")] public string SerialNo { get; set; } [JsonProperty("remarks")] public string Remarks { get; set; } } public class GpsDevicePerson { [JsonProperty("person")] public Person Person { get; set; } [JsonProperty("time")] public DateTime Time { get; set; } } }