@@ -18,6 +18,7 @@ public Trip assemble(TripDTO dto) {
return null;

Trip entity = new Trip(
dto.getId(),
dto.getMeta(),
dto.getNote(),
dto.getDepDate(),
@@ -42,6 +43,7 @@ public static Trip assembleRouteOneSide(TripDTO dto){
return null;

Trip entity = new Trip(
dto.getId(),
dto.getMeta(),
dto.getNote(),
dto.getDepDate(),
@@ -61,6 +63,7 @@ public static Trip assembleTripPartecipationOneSide(TripDTO dto){
return null;

Trip entity = new Trip(
dto.getId(),
dto.getMeta(),
dto.getNote(),
dto.getDepDate(),
@@ -11,6 +11,7 @@ public RouteDTO getDTO(Route entity) {
return null;

return new RouteDTO(
entity.getId(),
TripDTOFactory.getRouteOneSide(entity.getTrip()),
entity.getRouteNumber(),
entity.getDepartureLocation(),
@@ -23,6 +24,7 @@ public static RouteDTO getTripManySide(Route entity, TripDTO tripDTO){
return null;

return new RouteDTO(
entity.getId(),
tripDTO,
entity.getRouteNumber(),
entity.getDepartureLocation(),
@@ -18,10 +18,11 @@ public TripDTO getDTO(Trip entity) {
return null;

TripDTO dto = new TripDTO(
entity.getMeta(),
entity.getNote(),
entity.getDepDate(),
entity.getArrDate(),
entity.getId(),
entity.getMeta(),
entity.getNote(),
entity.getDepDate(),
entity.getArrDate(),
null,
null
);
@@ -44,6 +45,7 @@ public static TripDTO getRouteOneSide(Trip entity){
return null;

TripDTO dto = new TripDTO(
entity.getId(),
entity.getMeta(),
entity.getNote(),
entity.getDepDate(),
@@ -65,6 +67,7 @@ public static TripDTO getTripPartecipationOneSide(Trip entity){
return null;

TripDTO dto = new TripDTO(
entity.getId(),
entity.getMeta(),
entity.getNote(),
entity.getDepDate(),