diff --git a/elide-integration-tests/src/test/java/example/Book.java b/elide-integration-tests/src/test/java/example/Book.java index e587524a40..5d505527db 100644 --- a/elide-integration-tests/src/test/java/example/Book.java +++ b/elide-integration-tests/src/test/java/example/Book.java @@ -19,6 +19,7 @@ import javax.persistence.Table; import java.util.ArrayList; import java.util.Collection; +import java.util.Date; /** * Model for books. @@ -37,7 +38,7 @@ public class Book { private String title; private String genre; private String language; - private long publishDate = 0; + private Date publishDate = new Date(0); private Collection authors = new ArrayList<>(); private Collection chapters = new ArrayList<>(); @@ -74,11 +75,11 @@ public void setLanguage(String language) { this.language = language; } - public void setPublishDate(final long publishDate) { + public void setPublishDate(final Date publishDate) { this.publishDate = publishDate; } - public long getPublishDate() { + public Date getPublishDate() { return this.publishDate; }