Browse Source

adding Itinerary class and repository interface

feature-pr-CustomerClass
Sona Markosyan 3 years ago
parent
commit
a03a2a6a9a
  1. 10
      src/main/java/hs/fulda/de/ci/exam/project/Itinerary.java
  2. 8
      src/main/java/hs/fulda/de/ci/exam/project/ItineraryRepository.java

10
src/main/java/hs/fulda/de/ci/exam/project/Itinerary.java

@ -0,0 +1,10 @@
package hs.fulda.de.ci.exam.project;
import java.util.ArrayList;
public class Itinerary {
public Itinerary(Airport start_airport, Airport final_airport) {
}
}

8
src/main/java/hs/fulda/de/ci/exam/project/ItineraryRepository.java

@ -0,0 +1,8 @@
package hs.fulda.de.ci.exam.project;
import java.util.ArrayList;
public interface ItineraryRepository {
ArrayList<Itinerary> findAll();
void save(Itinerary itinerary);
}
Loading…
Cancel
Save