feat:提交标注代码
This commit is contained in:
parent
77202deb58
commit
fbc35af80c
|
|
@ -6,6 +6,8 @@ import lombok.EqualsAndHashCode;
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 标注 VO
|
* 标注 VO
|
||||||
*
|
*
|
||||||
|
|
@ -52,7 +54,7 @@ public class AirlineMarkerVO extends BaseEntity {
|
||||||
/**
|
/**
|
||||||
* 经纬度,格式:[经,纬,asl高度]
|
* 经纬度,格式:[经,纬,asl高度]
|
||||||
*/
|
*/
|
||||||
private String coordinates;
|
private List<PointInfo> coordinates;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 简介
|
* 简介
|
||||||
|
|
@ -64,6 +66,24 @@ public class AirlineMarkerVO extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
private Long groupId;
|
private Long groupId;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class PointInfo {
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
private Double latitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
private Double longitude;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 海拔高度
|
||||||
|
*/
|
||||||
|
private Double asl;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue