| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package com.ruoyi;
- public class FeatureWithRawJson {
- private String type;
- private String geometry; // 存储geometry的JSON字符串
- private String properties; // 存储properties的JSON字符串
-
- // 构造方法
- public FeatureWithRawJson() {}
-
- public FeatureWithRawJson(String type, String geometry, String properties) {
- this.type = type;
- this.geometry = geometry;
- this.properties = properties;
- }
-
- // Getter和Setter方法
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public String getGeometry() {
- return geometry;
- }
-
- public void setGeometry(String geometry) {
- this.geometry = geometry;
- }
-
- public String getProperties() {
- return properties;
- }
-
- public void setProperties(String properties) {
- this.properties = properties;
- }
-
- @Override
- public String toString() {
- return "FeatureWithRawJson{" +
- "type='" + type + '\'' +
- ", geometry='" + geometry + '\'' +
- ", properties='" + properties + '\'' +
- '}';
- }
- }
|