basic domain class

main
Jan Bachmann 2024-06-02 16:51:45 +02:00 committed by Jan B
parent efec694dc7
commit 9a0cb19f79
4 changed files with 8 additions and 10 deletions

View File

@ -12,8 +12,4 @@ public class User {
this.city = city;
this.username = username;
}
}

View File

@ -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;
}

View File

@ -1,4 +0,0 @@
package fassade;
public class Fassade {
}

View File

@ -0,0 +1,6 @@
package fassade;
public class TravelBuddyApi {
}