liujie
2026-08-21 77649c76ec1c3afcb93e9963243d637665b3a307
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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) {
        this.scenicId = scenicId;
        this.scenicCode = scenicCode;
        this.name = name;
        this.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; }
}