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.

93 satır
3.2KB

  1. using Newtonsoft.Json;
  2. using SqlSugar;
  3. using SqlSugar.TDengine;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace HealthMonitor.Model.Service.Mapper
  10. {
  11. [STableAttribute(STableName = "stb_hm_pregnancy_common_heart_rate")]
  12. public class PregnancyCommonHeartRateModel
  13. {
  14. [JsonProperty("ts")]
  15. [SqlSugar.SugarColumn(IsPrimaryKey = true, ColumnName = "ts", SqlParameterDbType = typeof(DateTime19))]
  16. public DateTime Timestamp { get; set; }
  17. [JsonProperty("person_id")]
  18. [SqlSugar.SugarColumn(ColumnName = "person_id")]
  19. public string PersonId { get; set; } = default!;
  20. [JsonProperty("device_key")]
  21. [SqlSugar.SugarColumn(ColumnName = "device_key")]
  22. public string DeviceKey { get; set; } = default!;
  23. [JsonProperty("serialno")]
  24. [SqlSugar.SugarColumn(ColumnName = "serialno")]
  25. public string SerialNumber { get; set; } = default!;
  26. [JsonProperty("mode")]
  27. [SqlSugar.SugarColumn(ColumnName = "mode")]
  28. public float Mode { get; set; }
  29. [JsonProperty("percentage")]
  30. [SqlSugar.SugarColumn(ColumnName = "percentage")]
  31. public int Percentage { get; set; }
  32. [JsonProperty("max_value")]
  33. [SqlSugar.SugarColumn(ColumnName = "max_value")]
  34. public int MaxValue { get; set; }
  35. [JsonProperty("min_value")]
  36. [SqlSugar.SugarColumn(ColumnName = "min_value")]
  37. public int MinValue { get; set; }
  38. [JsonProperty("original_max_value")]
  39. [SqlSugar.SugarColumn(ColumnName = "original_max_value")]
  40. public int OriginalMaxValue { get; set; }
  41. [JsonProperty("original_min_value")]
  42. [SqlSugar.SugarColumn(ColumnName = "original_min_value")]
  43. public int OriginalMinValue { get; set; }
  44. [JsonProperty("create_time")]
  45. [SqlSugar.SugarColumn(ColumnName = "create_time")]
  46. public DateTime CreateTime { get; set; }
  47. [JsonProperty("stat_start_time")]
  48. [SqlSugar.SugarColumn(ColumnName = "stat_start_time")]
  49. public DateTime StatStartTime { get; set; }
  50. [JsonProperty("stat_end_time")]
  51. [SqlSugar.SugarColumn(ColumnName = "stat_end_time")]
  52. public DateTime StatEndTime { get; set; }
  53. [JsonProperty("stat_max_value_fpr_coefficient")]
  54. [SqlSugar.SugarColumn(ColumnName = "stat_max_value_fpr_coefficient")]
  55. public float StatMaxValueFprCoefficient { get; set; }
  56. [JsonProperty("stat_min_value_fpr_coefficient")]
  57. [SqlSugar.SugarColumn(ColumnName = "stat_min_value_fpr_coefficient")]
  58. public float StatMinValueFprCoefficient { get; set; }
  59. [JsonProperty("stat_mode_avg_fpr_coefficient")]
  60. [SqlSugar.SugarColumn(ColumnName = "stat_mode_avg_fpr_coefficient")]
  61. public float StatModeAvgFprCoefficient { get; set; }
  62. [JsonProperty("remark")]
  63. [SqlSugar.SugarColumn(ColumnName = "remark")]
  64. public string Remark { get; set; } = default!;
  65. [JsonProperty("serial_tail_no")]
  66. [SqlSugar.SugarColumn(IsIgnore = true, ColumnName = "serial_tail_no")]
  67. public string SerialTailNumber { get; set; } = default!;
  68. }
  69. }