平安校园
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.
 
 
 
 
 
 

43 rivejä
1.8 KiB

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