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

45 line
1.7 KiB

  1. namespace SafeCampus.System;
  2. [SugarTable("PassengerFlow", TableDescription = "客流统计")]
  3. [Tenant(SqlSugarConst.DB_DEFAULT)]
  4. [BatchEdit]
  5. [CodeGen]
  6. [IgnoreInitTable]
  7. public class PassengerFlow : PrimaryKeyEntity
  8. {
  9. /// <summary>
  10. /// 查询时间
  11. /// </summary>
  12. [SugarColumn(ColumnName = "QueryTime", ColumnDescription = "查询时间", IsNullable = false)]
  13. public DateTime QueryTime { get; set; }
  14. /// <summary>
  15. /// 开始时间
  16. /// </summary>
  17. [SugarColumn(ColumnName = "StartTime", ColumnDescription = "开始时间", IsNullable = false)]
  18. public DateTime StartTime { get; set; }
  19. /// <summary>
  20. /// 结束时间
  21. /// </summary>
  22. [SugarColumn(ColumnName = "EndTime", ColumnDescription = "结束时间", IsNullable = false)]
  23. public DateTime EndTime { get; set; }
  24. /// <summary>
  25. /// 摄像头id列表
  26. /// </summary>
  27. [SugarColumn(ColumnName = "CameraIds", ColumnDescription = "摄像头id列表", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)]
  28. public string CameraIds{ get; set; }
  29. /// <summary>
  30. /// 摄像头名称列表
  31. /// </summary>
  32. [SugarColumn(ColumnName = "CameraNames", ColumnDescription = "摄像头名称列表", ColumnDataType = StaticConfig.CodeFirst_BigString, IsNullable = false)]
  33. public string CameraNames { get; set; }
  34. /// <summary>
  35. /// 分片类型true小时 false天
  36. /// </summary>
  37. [SugarColumn(ColumnName = "Split", ColumnDescription = "分片类型", IsNullable = false)]
  38. public bool Split { get; set; }
  39. /// <summary>
  40. /// 总数
  41. /// </summary>
  42. [SugarColumn(ColumnName = "Total", ColumnDescription = "总数", IsNullable = false)]
  43. public int Total { get; set; }
  44. }