Update README.md

This commit is contained in:
Albert Shift 2015-06-05 14:33:02 -07:00
parent f005b6b500
commit da536245db

View file

@ -55,9 +55,9 @@ Active development dependency for Scala 2.11:
</repositories>
```
### Example
### Simple Example
Entity definition:
Model definition:
```
@Table("timelines")
public interface Timeline {
@ -120,6 +120,20 @@ public interface Account {
}
```
AccountUser model:
```
@UDT
public interface AccountUser {
String email();
String firstName();
String lastName();
}
```
Abstract repository:
```
public interface AbstractRepository {