Last active
August 5, 2017 13:33
-
-
Save machielg/8c180c417be3adc0c13bc53b23d94c2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Customer { | |
String getName(); | |
String getId(); | |
} | |
interface CustomerRepository { | |
Stream<Customer> allCustomers(); | |
} | |
interface Order { | |
DateTime getOrderDate(); | |
Integer getOrderAmount(); | |
} | |
interface OrderRepository { | |
List<Order> getOrdersForCustomer(String customerId); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment