您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

46 行
1.2KB

  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. }