This commit is contained in:
孙小云 2026-03-12 18:45:55 +08:00
commit 3c47e50574
1 changed files with 102 additions and 0 deletions

View File

@ -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<PointInfo> 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();
}
}