-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vehicles.java
49 lines (40 loc) · 986 Bytes
/
Vehicles.java
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
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package supreme.rentals;
/**
*
* @author Jesuye
*/
public class Vehicles {
public String make;
public String model;
public String color;
public String year;
public boolean automaticGearbox;
public boolean airConditioner;
public int numberSeats;
public int dailyPrice;
public String vehiID;
public Vehicles(){
}
public String getMake(){
return make;
}
public String getModel(){
return model;
}
public boolean getAutomaticGearbox(){
return automaticGearbox;
}
public boolean getAirConditioner(){
return airConditioner;
}
public int getNumberSeats(){
return numberSeats;
}
public int getDailyPrice(){
return dailyPrice;
}
}