| File was renamed from xp-service/xp-map/src/main/java/com/xiaopeng/map/vo/GeoFencingPolygon.java |
| | |
| | | * @date 2023/4/29 23:53 |
| | | */ |
| | | @Data |
| | | @Document(collection = "geo_fencing") |
| | | public class GeoFencingPolygon implements Serializable { |
| | | @Document(collection = "operating_area") |
| | | public class XpGeoFencingPolygon implements Serializable { |
| | | private static final long serialVersionUID = 4508868382007529971L; |
| | | |
| | | private String id; |
| | | /** |
| | | * 站点id |
| | | * 围栏id |
| | | */ |
| | | private Integer siteId; |
| | | private String fenceId; |
| | | /** |
| | | * 站点名称 |
| | | * 围栏名称 |
| | | */ |
| | | private String name; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 多边形经纬度 |
| | | */ |
| | | @GeoSpatialIndexed(type = GeoSpatialIndexType.GEO_2DSPHERE) |
| | | private GeoJsonPolygon geoJsonPolygon; |
| | | private GeoJsonPolygon points; |
| | | |
| | | } |