liujie
2026-09-16 a3a56121a476cd23d0f29bc391c07374dc5008f2
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
package com.tourguide.modules.operation.dto;
 
import com.tourguide.modules.operation.entity.ScenicMeetingPoint;
import java.math.BigDecimal;
 
/** 景区汇合点响应。 */
public class ScenicMeetingPointResponse {
    private Long id;
    private String pointName;
    private String address;
    private BigDecimal longitude;
    private BigDecimal latitude;
    private Integer status;
    private Integer isDefault;
 
    public static ScenicMeetingPointResponse from(ScenicMeetingPoint point) {
        ScenicMeetingPointResponse response = new ScenicMeetingPointResponse();
        response.id = point.getId();
        response.pointName = point.getPointName();
        response.address = point.getAddress();
        response.longitude = point.getLongitude();
        response.latitude = point.getLatitude();
        response.status = point.getStatus();
        response.isDefault = point.getIsDefault();
        return response;
    }
 
    public Long getId() { return id; }
    public String getPointName() { return pointName; }
    public String getAddress() { return address; }
    public BigDecimal getLongitude() { return longitude; }
    public BigDecimal getLatitude() { return latitude; }
    public Integer getStatus() { return status; }
    public Integer getIsDefault() { return isDefault; }
}