BuildLog.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. package com.fdkankan.modeling.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import java.io.Serializable;
  8. import java.util.Date;
  9. import lombok.Getter;
  10. import lombok.Setter;
  11. /**
  12. * <p>
  13. *
  14. * </p>
  15. *
  16. * @author
  17. * @since 2022-04-07
  18. */
  19. @Getter
  20. @Setter
  21. @TableName("t_build_log")
  22. public class BuildLog implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. /**
  25. * 主键
  26. */
  27. @TableId(value = "id", type = IdType.AUTO)
  28. private Long id;
  29. /**
  30. * 场景码
  31. */
  32. @TableField("num")
  33. private String num;
  34. /**
  35. * 资源路径
  36. */
  37. @TableField("data_source")
  38. private String dataSource;
  39. /**
  40. * 主题名称
  41. */
  42. @TableField("queue_name")
  43. private String queueName;
  44. /**
  45. * -10:其他原因失败
  46. -3:重复计算
  47. -2:计算失败
  48. -1:计算超时
  49. 0:计算中
  50. 1:计算成功
  51. */
  52. @TableField("build_status")
  53. private Integer buildStatus;
  54. /**
  55. * 服务器名称
  56. */
  57. @TableField("host_name")
  58. private String hostName;
  59. @TableField("build_type")
  60. private Integer buildType;
  61. /**
  62. * 相机类型
  63. */
  64. @TableField("camera_type")
  65. private Integer cameraType;
  66. @TableField("source")
  67. private String source;
  68. /**
  69. * java程序异常详情
  70. */
  71. @TableField("reason")
  72. private String reason;
  73. @TableField("log_detail_path")
  74. private String logDetailPath;
  75. /**
  76. * 计算耗时
  77. */
  78. @TableField("duration")
  79. private Long duration;
  80. /**
  81. * 开始计算时间
  82. */
  83. @TableField("create_time")
  84. private Date createTime;
  85. /**
  86. * 结束计算时间
  87. */
  88. @TableField("update_time")
  89. private Date updateTime;
  90. /**
  91. * 0-有效,1-删除
  92. */
  93. @TableField("tb_status")
  94. @TableLogic
  95. private Integer tbStatus;
  96. }