平安校园
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

ClassRoomCall.cs 4.8 KiB

4 mesi fa
3 mesi fa
4 mesi fa
3 mesi fa
4 mesi fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. namespace SafeCampus.System;
  2. [SugarTable("ClassRoomCall", TableDescription = "点名数据")]
  3. [Tenant(SqlSugarConst.DB_DEFAULT)]
  4. [BatchEdit]
  5. [CodeGen]
  6. [IgnoreInitTable]
  7. public class ClassRoomCall: PrimaryKeyEntity
  8. {
  9. /// <summary>
  10. /// 租户id
  11. /// </summary>
  12. [SugarColumn(ColumnName = "TenantCode", ColumnDescription = "租户id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  13. public string TenantCode { get; set; }
  14. /// <summary>
  15. /// 门店id
  16. /// </summary>
  17. [SugarColumn(ColumnName = "PoiId", ColumnDescription = "门店id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  18. public string PoiId { get; set; }
  19. /// <summary>
  20. /// 任务id
  21. /// </summary>
  22. [SugarColumn(ColumnName = "TaskId", ColumnDescription = "任务id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  23. public string TaskId { get; set; }
  24. /// <summary>
  25. /// 点名事件id
  26. /// </summary>
  27. [SugarColumn(ColumnName = "EventId", ColumnDescription = "点名事件id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  28. public string EventId { get; set; }
  29. /// <summary>
  30. /// 预警类型
  31. /// </summary>
  32. [SugarColumn(ColumnName = "AlarmType", ColumnDescription = "预警类型", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  33. public string AlarmType { get; set; }
  34. /// <summary>
  35. /// 预警类型说明
  36. /// </summary>
  37. [SugarColumn(ColumnName = "AlarmTypeDesc", ColumnDescription = "预警类型说明", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  38. public string AlarmTypeDesc { get; set; }
  39. /// <summary>
  40. /// 人员跟踪id
  41. /// </summary>
  42. [SugarColumn(ColumnName = "TrackId", ColumnDescription = "人员跟踪id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  43. public string TrackId { get; set; }
  44. /// <summary>
  45. /// 关联底库id 如果为空,表示该人员未匹配到底库
  46. /// </summary>
  47. [SugarColumn(ColumnName = "PersonSetId", ColumnDescription = "关联底库id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  48. public string PersonSetId { get; set; }
  49. /// <summary>
  50. /// 人员id
  51. /// </summary>
  52. [SugarColumn(ColumnName = "PersonId", ColumnDescription = "人员id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  53. public string PersonId { get; set; }
  54. /// <summary>
  55. /// 相似度
  56. /// </summary>
  57. [SugarColumn(ColumnName = "Similarity", ColumnDescription = "相似度", IsNullable = true)]
  58. public float Similarity { get; set; }
  59. /// <summary>
  60. /// 摄像头id
  61. /// </summary>
  62. [SugarColumn(ColumnName = "CameraId", ColumnDescription = "摄像头id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  63. public string CameraId { get; set; }
  64. /// <summary>
  65. /// 人脸质量分,取值[0, 100]
  66. /// </summary>
  67. [SugarColumn(ColumnName = "FaceScore", ColumnDescription = "人脸质量分", IsNullable = true)]
  68. public float FaceScore { get; set; }
  69. /// <summary>
  70. /// 人脸照片url,链接有效期为2小时
  71. /// </summary>
  72. [SugarColumn(ColumnName = "SnapshotUrl", ColumnDescription = "人脸照片url", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  73. public string SnapshotUrl { get; set; }
  74. /// <summary>
  75. /// 人脸照片数据,base64编码(本地对接使用)
  76. /// </summary>
  77. [SugarColumn(ColumnName = "SnapshotData", ColumnDescription = "人脸照片数据", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  78. public string SnapshotData { get; set; }
  79. /// <summary>
  80. /// 事件发生时间
  81. /// </summary>
  82. [SugarColumn(ColumnName = "Tick", ColumnDescription = "事件发生时间", IsNullable = false)]
  83. public DateTime Tick { get; set; }
  84. /// <summary>
  85. /// 目标在快照中的位置
  86. /// </summary>
  87. [SugarColumn(ColumnName = "Rects", ColumnDescription = "目标在快照中的位置", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  88. public string Rects { get; set; }
  89. /// <summary>
  90. /// 人员扩展信息
  91. /// </summary>
  92. [SugarColumn(ColumnName = "Extend", ColumnDescription = "人员扩展信息", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  93. public string Extend { get; set; }
  94. /// <summary>
  95. /// 创建时间
  96. /// </summary>
  97. [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间", IsNullable = true)]
  98. public DateTime CreateTime { get; set; }
  99. /// <summary>
  100. ///摄像头信息
  101. /// </summary>
  102. [Navigate(NavigateType.OneToOne, nameof(CameraId), nameof(CameraInfo.SensorId))]
  103. public CameraInfo CameraInfoItem { get; set; }
  104. }