-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrip.java
More file actions
86 lines (69 loc) · 1.71 KB
/
Copy pathTrip.java
File metadata and controls
86 lines (69 loc) · 1.71 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
81
82
83
84
85
86
public class Trip {
private int trip_id;
private String departure;
private String return_;
private float cost;
private int seats;
private String branch;
private String guide;
private String driver;
public Trip(int trip_id, String departure, String return_, float cost, int seats, String branch, String guide,
String driver) {
this.trip_id = trip_id;
this.departure = departure;
this.return_ = return_;
this.cost = cost;
this.seats = seats;
this.branch = branch;
this.guide = guide;
this.driver = driver;
}
public int getTrip_id() {
return trip_id;
}
public void setTrip_id(int trip_id) {
this.trip_id = trip_id;
}
public String getDeparture() {
return departure;
}
public void setDeparture(String departure) {
this.departure = departure;
}
public String getReturn_() {
return return_;
}
public void setReturn_(String return_) {
this.return_ = return_;
}
public float getCost() {
return cost;
}
public void setCost(float cost) {
this.cost = cost;
}
public int getSeats() {
return seats;
}
public void setSeats(int seats) {
this.seats = seats;
}
public String getBranch() {
return branch;
}
public void setBranch(String branch) {
this.branch = branch;
}
public String getGuide() {
return guide;
}
public void setGuide(String guide) {
this.guide = guide;
}
public String getDriver() {
return driver;
}
public void setDriver(String driver) {
this.driver = driver;
}
}