package cn.reghao.tnb.content.app.geo.model.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * 地图标记
 *
 * @author reghao
 * @date 2023-08-31 10:38:26
 */
@AllArgsConstructor
@NoArgsConstructor
@Setter
@Getter
public class MapMarker implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;
    private String title;
    private MapPoint position;
    private Integer distance;

    public MapMarker(String id, String title, MapPoint mapPoint) {
        this.id = id;
        this.title = title;
        this.position = mapPoint;
    }
}
