BaseCameraManagement.java 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. package com.ozs.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.ozs.common.annotation.Excel;
  6. import com.ozs.common.core.domain.BaseEntity;
  7. import io.swagger.annotations.ApiModel;
  8. import lombok.AllArgsConstructor;
  9. import lombok.Builder;
  10. import lombok.Data;
  11. import lombok.NoArgsConstructor;
  12. import java.io.Serializable;
  13. /**
  14. * <p>
  15. * 相机台账管理表
  16. * </p>
  17. *
  18. * @author ozs
  19. * @since 2023-02-17
  20. */
  21. @Data
  22. @AllArgsConstructor
  23. @NoArgsConstructor
  24. @Builder
  25. @ApiModel("相机台账管理表")
  26. public class BaseCameraManagement extends BaseEntity implements Serializable {
  27. private static final long serialVersionUID = 1L;
  28. /**
  29. * 主键ID
  30. */
  31. @TableId(type = IdType.AUTO)
  32. private Long id;
  33. /**
  34. * 相机编码
  35. */
  36. @Excel(name = "相机编码")
  37. private String cameraCode;
  38. /**
  39. * 线路编码
  40. */
  41. private String railwayCode;
  42. /**
  43. * 通道编号
  44. */
  45. @Excel(name = "通道编号")
  46. private String channel;
  47. /**
  48. * 所属工务段编码(单位id)
  49. */
  50. private Long deptId;
  51. /**
  52. * 行别(1上行2下行)
  53. */
  54. @Excel(name = "行别", readConverterExp = "1=上行,2=下行")
  55. private Integer lineDir;
  56. /**
  57. * 监控相机安装里程位置
  58. */
  59. private Integer installMile;
  60. /**
  61. * 监控范围开始里程位置
  62. */
  63. private Integer beginMile;
  64. /**
  65. * 监控范围结束里程位置
  66. */
  67. private Integer endMile;
  68. /**
  69. * 监视相机经度
  70. */
  71. @Excel(name = "监视相机经度")
  72. private String installLongitude;
  73. /**
  74. * 监视相机纬度
  75. */
  76. @Excel(name = "监视相机纬度")
  77. private String installLatitude;
  78. /**
  79. * 录像接口返回的任务ID
  80. */
  81. // @Excel(name = "监视相机纬度")
  82. private String taskId;
  83. /**
  84. * 监控相机安装里程位置字符串形式
  85. */
  86. @TableField(exist = false)
  87. @Excel(name = "监控相机安装里程位置")
  88. private String installMiles;
  89. /**
  90. * 监控范围开始里程位置字符串形式
  91. */
  92. @TableField(exist = false)
  93. @Excel(name = "监控范围开始里程位置")
  94. private String beginMiles;
  95. /**
  96. * 监控范围结束里程位置字符串形式
  97. */
  98. @TableField(exist = false)
  99. @Excel(name = "监控范围结束里程位置")
  100. private String endMiles;
  101. /**
  102. * 里程范围
  103. */
  104. @TableField(exist = false)
  105. private String milesRange;
  106. /**
  107. * 经纬度
  108. */
  109. @TableField(exist = false)
  110. private String longitudeAndLatitude;
  111. /**
  112. * 线路名称
  113. */
  114. @TableField(exist = false)
  115. @Excel(name = "线路名称")
  116. private String railwayName;
  117. /**
  118. * 所属工务段名称
  119. */
  120. @TableField(exist = false)
  121. @Excel(name = "所属工务段名称")
  122. private String deptName;
  123. /**
  124. * 行别 字符串
  125. */
  126. @TableField(exist = false)
  127. private String lineDirStr;
  128. // /**
  129. // *是否显示启用录像按钮(1显示2不显示)
  130. // */
  131. // @TableField(exist = false)
  132. // private Integer isStartRecording;
  133. }