feat:增加标注分组

This commit is contained in:
gyb 2026-03-16 18:33:21 +08:00
parent b4a7b290b7
commit 608f9e1ffd
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
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 AirlineMarkerGroupVO extends BaseEntity {
/**
* 分组ID
*/
private Long groupId;
/**
* 分组名称
*/
private String groupName;
/**
* 组关联的标注
*/
private List<AirlineMarkerVO> groupInfos;
/**
* 标注数量
*/
private Integer markerCount;
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("groupId", getGroupId())
.append("groupName", getGroupName())
.append("markerCount", getMarkerCount())
.toString();
}
}