Repository navigation
Expand file tree
/
Copy pathAttractionDto.java
More file actions
80 lines (63 loc) · 1.93 KB
/
Copy pathAttractionDto.java
File metadata and controls
80 lines (63 loc) · 1.93 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
package com.openclassrooms.tourguide.dto;
public class AttractionDto {
private String attractionName;
private double latitude;
private double longitude;
private double latitudeUser;
private double longitudeUser;
private double distance;
public double getLatitudeUser() {
return latitudeUser;
}
public void setLatitudeUser(double latitudeUser) {
this.latitudeUser = latitudeUser;
}
public double getLongitudeUser() {
return longitudeUser;
}
public void setLongitudeUser(double longitudeUser) {
this.longitudeUser = longitudeUser;
}
private double rewardPoints;
public double getRewardPoints() {
return rewardPoints;
}
public void setRewardPoints(double rewardPoints) {
this.rewardPoints = rewardPoints;
}
public String getAttractionName() {
return attractionName;
}
public void setAttractionName(String attractionName) {
this.attractionName = attractionName;
}
public double getLatitude() {
return latitude;
}
public void setLatitude(double latitude) {
this.latitude = latitude;
}
public double getLongitude() {
return longitude;
}
public void setLongitude(double longitude) {
this.longitude = longitude;
}
public double getDistance() {
return distance;
}
public void setDistance(double distance) {
this.distance = distance;
}
public AttractionDto(String attractionName, double latitude, double longitude, double latitudeUser, double longitudeUser, double distance, double rewardPoints) {
this.attractionName = attractionName;
this.latitude = latitude;
this.longitude = longitude;
this.latitudeUser = latitudeUser;
this.longitudeUser = longitudeUser;
this.distance = distance;
this.rewardPoints = rewardPoints;
}
public AttractionDto() {
}
}