basic domain class
parent
efec694dc7
commit
9a0cb19f79
|
@ -12,8 +12,4 @@ public class User {
|
|||
this.city = city;
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -7,10 +7,10 @@ public class Vehicle {
|
|||
public int averageKmPerH;
|
||||
public int maxShortTripDistance;
|
||||
|
||||
public Vehicle(String name) {
|
||||
public Vehicle(String name,int averageKmPerH) {
|
||||
this.typ = "bike";
|
||||
this.name = name;
|
||||
this.averageKmPerH = 22;
|
||||
this.averageKmPerH = averageKmPerH;
|
||||
this.co2perKm = 0;
|
||||
this.maxShortTripDistance = 100;
|
||||
}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
package fassade;
|
||||
|
||||
public class Fassade {
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
package fassade;
|
||||
|
||||
|
||||
public class TravelBuddyApi {
|
||||
|
||||
}
|
Loading…
Reference in New Issue