diff --git a/ruoyi-api/tuoheng-api-airline/src/main/java/com/ruoyi/airline/api/domain/AirlineMarkerVO.java b/ruoyi-api/tuoheng-api-airline/src/main/java/com/ruoyi/airline/api/domain/AirlineMarkerVO.java new file mode 100644 index 0000000..e1a6f1e --- /dev/null +++ b/ruoyi-api/tuoheng-api-airline/src/main/java/com/ruoyi/airline/api/domain/AirlineMarkerVO.java @@ -0,0 +1,102 @@ +package com.ruoyi.airline.api.domain; + +import com.ruoyi.common.core.web.domain.BaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; +import org.apache.commons.lang3.builder.ToStringBuilder; +import org.apache.commons.lang3.builder.ToStringStyle; + +import java.util.List; + +/** + * 标注 VO + * + * @author 拓恒 + */ +@EqualsAndHashCode(callSuper = true) +@Data +public class AirlineMarkerVO extends BaseEntity { + /** + * 主键ID + */ + private Long id; + + /** + * 标注名称 + */ + private String markerName; + + /** + * 标注类型 + */ + private String markerType; + + /** + * 1 启用 0 停用。默认启用。 + */ + private Integer status; + + /** + * 颜色 + */ + private String color; + + /** + * 图标 + */ + private String icon; + + /** + * 字体大小 + */ + private Integer fontSize; + + /** + * 经纬度,格式:[经,纬,asl高度] + */ + private List coordinates; + + /** + * 简介 + */ + private String description; + + /** + * 分组ID + */ + private Long groupId; + + @Data + public static class PointInfo { + /** + * 纬度 + */ + private Double latitude; + + /** + * 经度 + */ + private Double longitude; + + /** + * 海拔高度 + */ + private Double asl; + } + + @Override + public String toString() { + return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) + .append("id", getId()) + .append("markerName", getMarkerName()) + .append("markerType", getMarkerType()) + .append("status", getStatus()) + .append("color", getColor()) + .append("icon", getIcon()) + .append("fontSize", getFontSize()) + .append("coordinates", getCoordinates()) + .append("description", getDescription()) + .append("groupId", getGroupId()) + .toString(); + } +}