平安校园
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

ClassRoomCallTask.cs 2.0 KiB

4 miesięcy temu
3 miesięcy temu
4 miesięcy temu
3 miesięcy temu
4 miesięcy temu
3 miesięcy temu
4 miesięcy temu
3 miesięcy temu
4 miesięcy temu
3 miesięcy temu
3 miesięcy temu
4 miesięcy temu
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. namespace SafeCampus.System;
  2. [SugarTable("ClassRoomCallTask", TableDescription = "点名任务")]
  3. [Tenant(SqlSugarConst.DB_DEFAULT)]
  4. [BatchEdit]
  5. [CodeGen]
  6. [IgnoreInitTable]
  7. public class ClassRoomCallTask: PrimaryKeyEntity
  8. {
  9. /// <summary>
  10. /// 摄像头id
  11. /// </summary>
  12. [SugarColumn(ColumnName = "CameraId", ColumnDescription = "摄像头id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  13. public string CameraId { get; set; }
  14. /// <summary>
  15. /// 点名任务id
  16. /// </summary>
  17. [SugarColumn(ColumnName = "TaskId", ColumnDescription = "点名任务id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  18. public string TaskId { get; set; }
  19. /// <summary>
  20. /// 点名持续时间,单位为分钟,取值[1, 100]
  21. /// </summary>
  22. [SugarColumn(ColumnName = "ContinueTime", ColumnDescription = "点名持续时间", IsNullable = true)]
  23. public int ContinueTime { get; set; }
  24. /// <summary>
  25. /// 人员底库id
  26. /// </summary>
  27. [SugarColumn(ColumnName = "PersonSetId", ColumnDescription = "人员底库id", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = true)]
  28. public string PersonSetId { get; set; }
  29. /// <summary>
  30. /// 匹配相似度阈值(如果没传,系统默认用0.5)
  31. /// </summary>
  32. [SugarColumn(ColumnName = "Similarity", ColumnDescription = "匹配相似度阈值", IsNullable = true)]
  33. public float Similarity { get; set; }
  34. /// <summary>
  35. /// 创建时间
  36. /// </summary>
  37. [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间", IsNullable = true)]
  38. public DateTime CreateTime { get; set; }
  39. /// <summary>
  40. /// 结束时间
  41. /// </summary>
  42. [SugarColumn(ColumnName = "EndTime", ColumnDescription = "结束时间",IsNullable = true)]
  43. public DateTime EndTime { get; set; }
  44. /// <summary>
  45. /// 摄像头信息
  46. ///</summary>
  47. [Navigate(NavigateType.OneToOne, nameof(CameraId),nameof(CameraInfo.SensorId)),]
  48. public CameraInfo CameraInfoItem { get; set; }
  49. }