diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-06-23 09:37:57 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-06-23 09:37:57 +0200 |
commit | 7caa5b1f1e08f99cfe4465f091f47e2966d78aa7 (patch) | |
tree | c0bd7202845697207b04d518f613588df17d9e12 /src/test/java/io/trygvis/test/Article.java | |
download | jdbc-queue-7caa5b1f1e08f99cfe4465f091f47e2966d78aa7.tar.gz jdbc-queue-7caa5b1f1e08f99cfe4465f091f47e2966d78aa7.tar.bz2 jdbc-queue-7caa5b1f1e08f99cfe4465f091f47e2966d78aa7.tar.xz jdbc-queue-7caa5b1f1e08f99cfe4465f091f47e2966d78aa7.zip |
Diffstat (limited to 'src/test/java/io/trygvis/test/Article.java')
-rwxr-xr-x | src/test/java/io/trygvis/test/Article.java | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/test/java/io/trygvis/test/Article.java b/src/test/java/io/trygvis/test/Article.java new file mode 100755 index 0000000..bf52e41 --- /dev/null +++ b/src/test/java/io/trygvis/test/Article.java @@ -0,0 +1,46 @@ +package io.trygvis.test; + +import java.util.Date; + +public class Article { + private Integer id; + private Date created; + private Date updated; + private String title; + private String body; + + @SuppressWarnings("UnusedDeclaration") + private Article() { + } + + public Article(Date created, Date updated, String title, String body) { + this.created = created; + this.updated = updated; + this.title = title; + this.body = body; + } + + public Integer getId() { + return id; + } + + public Date getCreated() { + return created; + } + + public Date getUpdated() { + return updated; + } + + public void setUpdated(Date updated) { + this.updated = updated; + } + + public String getTitle() { + return title; + } + + public String getBody() { + return body; + } +} |