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.

HmBloodPress.cs 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using Newtonsoft.Json;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.Text.Json;
  4. namespace HealthMonitor.WebApi.Model.Request
  5. {
  6. public class HmBloodPress
  7. {
  8. [JsonProperty("bloodPressId")]
  9. public string BloodPressId { get; set; } = default!;
  10. [JsonProperty("messageId")]
  11. public string MessageId { get; set; } = default!;
  12. [JsonProperty("serialno")]
  13. public string Serialno { get; set; } = default!;
  14. [JsonProperty("systolicValue")]
  15. public int SystolicValue { get; set; }
  16. [JsonProperty("diastolicValue")]
  17. public int DiastolicValue { get; set; }
  18. [JsonProperty("lastUpdate")]
  19. public string LastUpdate { get; set; } = default!;
  20. [JsonProperty("createTime")]
  21. public string CreateTime { get; set; } = default!;
  22. [JsonProperty("method")]
  23. public int? Method { get; set; }
  24. [JsonProperty("isDisplay")]
  25. public int IsDisplay { get; set; } = 1;
  26. //[JsonConverter(typeof(CustomDateTimeConverter))]
  27. //public DateTime? LastUpdate { get; set; }
  28. //[JsonConverter(typeof(CustomDateTimeConverter))]
  29. //public DateTime? CreateTime { get; set; }
  30. }
  31. }