package com.tourguide.modules.operation.dto;
|
|
import java.math.BigDecimal;
|
|
/** 小程序景区列表响应。 */
|
public class MiniScenicSpotResponse {
|
private final Long scenicId;
|
private final String scenicCode;
|
private final String name;
|
private final String grade;
|
private final String city;
|
private final String address;
|
private final BigDecimal longitude;
|
private final BigDecimal latitude;
|
private final Long distanceMeters;
|
private final String distance;
|
private final String meetingPointName;
|
private final Integer mapZoom;
|
private final Integer fenceRadius;
|
|
public MiniScenicSpotResponse(Long scenicId, String scenicCode, String name, String city,
|
String address, BigDecimal longitude, BigDecimal latitude,
|
Long distanceMeters, String distance, String meetingPointName,
|
String grade) {
|
this.scenicId = scenicId;
|
this.scenicCode = scenicCode;
|
this.name = name;
|
this.grade = grade == null ? "" : grade;
|
this.city = city;
|
this.address = address;
|
this.longitude = longitude;
|
this.latitude = latitude;
|
this.distanceMeters = distanceMeters;
|
this.distance = distance;
|
this.meetingPointName = meetingPointName;
|
this.mapZoom = 16;
|
this.fenceRadius = 260;
|
}
|
|
public Long getScenicId() { return scenicId; }
|
public String getScenicCode() { return scenicCode; }
|
public String getName() { return name; }
|
public String getGrade() { return grade; }
|
public String getCity() { return city; }
|
public String getAddress() { return address; }
|
public BigDecimal getLongitude() { return longitude; }
|
public BigDecimal getLatitude() { return latitude; }
|
public Long getDistanceMeters() { return distanceMeters; }
|
public String getDistance() { return distance; }
|
public String getMeetingPointName() { return meetingPointName; }
|
public Integer getMapZoom() { return mapZoom; }
|
public Integer getFenceRadius() { return fenceRadius; }
|
}
|