BdFenceInfo.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. package com.ruoyi.bd.domain;
  2. import com.ruoyi.common.annotation.Excel;
  3. import com.ruoyi.common.core.domain.BaseEntity;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import org.locationtech.jts.geom.Polygon;
  7. /**
  8. * 围栏基础信息对象 bd_fence_info
  9. *
  10. * @author ruoyi
  11. * @date 2024-10-14
  12. */
  13. public class BdFenceInfo extends BaseEntity {
  14. private static final long serialVersionUID = 1L;
  15. /**
  16. *
  17. */
  18. private Long id;
  19. /**
  20. * 围栏名称
  21. */
  22. @Excel(name = "围栏名称")
  23. private String defenceName;
  24. /**
  25. * 围栏图形坐标
  26. */
  27. private String poly;
  28. /**
  29. * 中心点
  30. */
  31. @Excel(name = "中心点")
  32. private Double centerLng;
  33. /**
  34. * 中心点
  35. */
  36. @Excel(name = "中心点")
  37. private Double centerLat;
  38. private Polygon polygon;
  39. private String fenceType;
  40. private String locationId;
  41. private Integer altitude;
  42. public String getLocationId() {
  43. return locationId;
  44. }
  45. public void setLocationId(String locationId) {
  46. this.locationId = locationId;
  47. }
  48. public Integer getAltitude() {
  49. return altitude;
  50. }
  51. public void setAltitude(Integer altitude) {
  52. this.altitude = altitude;
  53. }
  54. public void setId(Long id) {
  55. this.id = id;
  56. }
  57. public Long getId() {
  58. return id;
  59. }
  60. public void setDefenceName(String defenceName) {
  61. this.defenceName = defenceName;
  62. }
  63. public String getDefenceName() {
  64. return defenceName;
  65. }
  66. public void setPoly(String poly) {
  67. this.poly = poly;
  68. }
  69. public String getPoly() {
  70. return poly;
  71. }
  72. public void setCenterLng(Double centerLng) {
  73. this.centerLng = centerLng;
  74. }
  75. public Double getCenterLng() {
  76. return centerLng;
  77. }
  78. public void setCenterLat(Double centerLat) {
  79. this.centerLat = centerLat;
  80. }
  81. public Double getCenterLat() {
  82. return centerLat;
  83. }
  84. public Polygon getPolygon() {
  85. return polygon;
  86. }
  87. public void setPolygon(Polygon polygon) {
  88. this.polygon = polygon;
  89. }
  90. public String getFenceType() {
  91. return fenceType;
  92. }
  93. public void setFenceType(String fenceType) {
  94. this.fenceType = fenceType;
  95. }
  96. @Override
  97. public String toString() {
  98. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  99. .append("id", getId())
  100. .append("defenceName", getDefenceName())
  101. .append("poly", getPoly())
  102. .append("centerLng", getCenterLng())
  103. .append("centerLat", getCenterLat())
  104. .append("updateTime", getUpdateTime())
  105. .append("createTime", getCreateTime())
  106. .append("createBy", getCreateBy())
  107. .append("updateBy", getUpdateBy())
  108. .toString();
  109. }
  110. }