| | |
| | | private Integer id; |
| | | |
| | | /** |
| | | * 网格索引 |
| | | */ |
| | | @Column(name = "cell_index") |
| | | private Integer cellIndex; |
| | | |
| | | /** |
| | | * 所属网格分组id |
| | | */ |
| | | @Column(name = "group_id") |
| | | private Integer groupId; |
| | | |
| | | /** |
| | | * 纬度 |
| | | * 所属上级网格的索引id,如果没有则为null |
| | | */ |
| | | private BigDecimal latitude; |
| | | @Column(name = "father_cell_index") |
| | | private Integer fatherCellIndex; |
| | | |
| | | /** |
| | | * 经度 |
| | |
| | | private BigDecimal longitude; |
| | | |
| | | /** |
| | | * 纬度 |
| | | */ |
| | | private BigDecimal latitude; |
| | | |
| | | /** |
| | | * 矩形网格顶点经度 |
| | | */ |
| | | @Column(name = "point1_lon") |
| | | private String point1Lon; |
| | | private BigDecimal point1Lon; |
| | | |
| | | /** |
| | | * 矩形网格顶点纬度 |
| | | */ |
| | | @Column(name = "point1_lat") |
| | | private String point1Lat; |
| | | private BigDecimal point1Lat; |
| | | |
| | | /** |
| | | * 矩形网格顶点经度 |
| | | */ |
| | | @Column(name = "point2_lon") |
| | | private String point2Lon; |
| | | private BigDecimal point2Lon; |
| | | |
| | | /** |
| | | * 矩形网格顶点纬度 |
| | | */ |
| | | @Column(name = "point2_lat") |
| | | private String point2Lat; |
| | | private BigDecimal point2Lat; |
| | | |
| | | /** |
| | | * 矩形网格顶点经度 |
| | | */ |
| | | @Column(name = "point3_lon") |
| | | private String point3Lon; |
| | | private BigDecimal point3Lon; |
| | | |
| | | /** |
| | | * 矩形网格顶点纬度 |
| | | */ |
| | | @Column(name = "point3_lat") |
| | | private String point3Lat; |
| | | private BigDecimal point3Lat; |
| | | |
| | | /** |
| | | * 矩形网格顶点经度 |
| | | */ |
| | | @Column(name = "point4_lon") |
| | | private String point4Lon; |
| | | private BigDecimal point4Lon; |
| | | |
| | | /** |
| | | * 矩形网格顶点纬度 |
| | | */ |
| | | @Column(name = "point4_lat") |
| | | private String point4Lat; |
| | | private BigDecimal point4Lat; |
| | | |
| | | /** |
| | | * @return id |
| | |
| | | */ |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | /** |
| | | * 获取网格索引 |
| | | * |
| | | * @return cell_index - 网格索引 |
| | | */ |
| | | public Integer getCellIndex() { |
| | | return cellIndex; |
| | | } |
| | | |
| | | /** |
| | | * 设置网格索引 |
| | | * |
| | | * @param cellIndex 网格索引 |
| | | */ |
| | | public void setCellIndex(Integer cellIndex) { |
| | | this.cellIndex = cellIndex; |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取纬度 |
| | | * 获取所属上级网格的索引id,如果没有则为null |
| | | * |
| | | * @return latitude - 纬度 |
| | | * @return father_cell_index - 所属上级网格的索引id,如果没有则为null |
| | | */ |
| | | public BigDecimal getLatitude() { |
| | | return latitude; |
| | | public Integer getFatherCellIndex() { |
| | | return fatherCellIndex; |
| | | } |
| | | |
| | | /** |
| | | * 设置纬度 |
| | | * 设置所属上级网格的索引id,如果没有则为null |
| | | * |
| | | * @param latitude 纬度 |
| | | * @param fatherCellIndex 所属上级网格的索引id,如果没有则为null |
| | | */ |
| | | public void setLatitude(BigDecimal latitude) { |
| | | this.latitude = latitude; |
| | | public void setFatherCellIndex(Integer fatherCellIndex) { |
| | | this.fatherCellIndex = fatherCellIndex; |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * 获取纬度 |
| | | * |
| | | * @return latitude - 纬度 |
| | | */ |
| | | public BigDecimal getLatitude() { |
| | | return latitude; |
| | | } |
| | | |
| | | /** |
| | | * 设置纬度 |
| | | * |
| | | * @param latitude 纬度 |
| | | */ |
| | | public void setLatitude(BigDecimal latitude) { |
| | | this.latitude = latitude; |
| | | } |
| | | |
| | | /** |
| | | * 获取矩形网格顶点经度 |
| | | * |
| | | * @return point1_lon - 矩形网格顶点经度 |
| | | */ |
| | | public String getPoint1Lon() { |
| | | public BigDecimal getPoint1Lon() { |
| | | return point1Lon; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point1Lon 矩形网格顶点经度 |
| | | */ |
| | | public void setPoint1Lon(String point1Lon) { |
| | | this.point1Lon = point1Lon == null ? null : point1Lon.trim(); |
| | | public void setPoint1Lon(BigDecimal point1Lon) { |
| | | this.point1Lon = point1Lon; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point1_lat - 矩形网格顶点纬度 |
| | | */ |
| | | public String getPoint1Lat() { |
| | | public BigDecimal getPoint1Lat() { |
| | | return point1Lat; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point1Lat 矩形网格顶点纬度 |
| | | */ |
| | | public void setPoint1Lat(String point1Lat) { |
| | | this.point1Lat = point1Lat == null ? null : point1Lat.trim(); |
| | | public void setPoint1Lat(BigDecimal point1Lat) { |
| | | this.point1Lat = point1Lat; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point2_lon - 矩形网格顶点经度 |
| | | */ |
| | | public String getPoint2Lon() { |
| | | public BigDecimal getPoint2Lon() { |
| | | return point2Lon; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point2Lon 矩形网格顶点经度 |
| | | */ |
| | | public void setPoint2Lon(String point2Lon) { |
| | | this.point2Lon = point2Lon == null ? null : point2Lon.trim(); |
| | | public void setPoint2Lon(BigDecimal point2Lon) { |
| | | this.point2Lon = point2Lon; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point2_lat - 矩形网格顶点纬度 |
| | | */ |
| | | public String getPoint2Lat() { |
| | | public BigDecimal getPoint2Lat() { |
| | | return point2Lat; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point2Lat 矩形网格顶点纬度 |
| | | */ |
| | | public void setPoint2Lat(String point2Lat) { |
| | | this.point2Lat = point2Lat == null ? null : point2Lat.trim(); |
| | | public void setPoint2Lat(BigDecimal point2Lat) { |
| | | this.point2Lat = point2Lat; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point3_lon - 矩形网格顶点经度 |
| | | */ |
| | | public String getPoint3Lon() { |
| | | public BigDecimal getPoint3Lon() { |
| | | return point3Lon; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point3Lon 矩形网格顶点经度 |
| | | */ |
| | | public void setPoint3Lon(String point3Lon) { |
| | | this.point3Lon = point3Lon == null ? null : point3Lon.trim(); |
| | | public void setPoint3Lon(BigDecimal point3Lon) { |
| | | this.point3Lon = point3Lon; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point3_lat - 矩形网格顶点纬度 |
| | | */ |
| | | public String getPoint3Lat() { |
| | | public BigDecimal getPoint3Lat() { |
| | | return point3Lat; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point3Lat 矩形网格顶点纬度 |
| | | */ |
| | | public void setPoint3Lat(String point3Lat) { |
| | | this.point3Lat = point3Lat == null ? null : point3Lat.trim(); |
| | | public void setPoint3Lat(BigDecimal point3Lat) { |
| | | this.point3Lat = point3Lat; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point4_lon - 矩形网格顶点经度 |
| | | */ |
| | | public String getPoint4Lon() { |
| | | public BigDecimal getPoint4Lon() { |
| | | return point4Lon; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point4Lon 矩形网格顶点经度 |
| | | */ |
| | | public void setPoint4Lon(String point4Lon) { |
| | | this.point4Lon = point4Lon == null ? null : point4Lon.trim(); |
| | | public void setPoint4Lon(BigDecimal point4Lon) { |
| | | this.point4Lon = point4Lon; |
| | | } |
| | | |
| | | /** |
| | |
| | | * |
| | | * @return point4_lat - 矩形网格顶点纬度 |
| | | */ |
| | | public String getPoint4Lat() { |
| | | public BigDecimal getPoint4Lat() { |
| | | return point4Lat; |
| | | } |
| | | |
| | |
| | | * |
| | | * @param point4Lat 矩形网格顶点纬度 |
| | | */ |
| | | public void setPoint4Lat(String point4Lat) { |
| | | this.point4Lat = point4Lat == null ? null : point4Lat.trim(); |
| | | public void setPoint4Lat(BigDecimal point4Lat) { |
| | | this.point4Lat = point4Lat; |
| | | } |
| | | } |