diff --git a/README.md b/README.md index 840c0b7..3e46b17 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ Active development dependency for Scala 2.11: ``` -### 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 {