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.

GpsDevicePerson.cs 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace HealthMonitor.Model.Cache
  8. {
  9. public class Person
  10. {
  11. [JsonProperty("personId")]
  12. public string PersonId { get; set; } = default!;
  13. [JsonProperty("deviceId")]
  14. public string DeviceId { get; set; } = default!;
  15. [JsonProperty("serialno")]
  16. public string SerialNo { get; set; } = default!;
  17. [JsonProperty("remarks")]
  18. public string Remarks { get; set; } = default!;
  19. [JsonProperty("ishypertension")]
  20. public bool Ishypertension { get; set; } = default!;
  21. [JsonProperty("personName")]
  22. public string PersonName { get; set; } = default!;
  23. [JsonProperty("gender")]
  24. public bool Gender { get; set; } = default!;
  25. [JsonProperty("age")]
  26. public int Age { get; set; } = default!;
  27. [JsonProperty("bornDate")]
  28. public string BornDate { get; set; } = default!;
  29. }
  30. public class GpsDevicePerson
  31. {
  32. [JsonProperty("person")]
  33. public Person Person { get; set; } = default!;
  34. [JsonProperty("time")]
  35. public DateTime Time { get; set; } = default!;
  36. }
  37. }