Import autogenerated JPA entities.
Adds JPA entities generated by IntelliJ for all existing tables in the
database.
Change-Id: Iac957b5d68ce45328db87487f105522f8595e124
diff --git a/src/main/scala/eu/mulk/entity/ArticleBranchTipPK.java b/src/main/scala/eu/mulk/entity/ArticleBranchTipPK.java
new file mode 100644
index 0000000..bab4247
--- /dev/null
+++ b/src/main/scala/eu/mulk/entity/ArticleBranchTipPK.java
@@ -0,0 +1,32 @@
+package eu.mulk.entity;
+
+import java.io.Serializable;
+import java.util.Objects;
+import javax.persistence.Column;
+import javax.persistence.Id;
+
+public class ArticleBranchTipPK implements Serializable {
+
+ private int articleId;
+ private int revisionId;
+
+ @Id
+ @Column(name = "article", nullable = false)
+ public int getArticleId() {
+ return articleId;
+ }
+
+ @Id
+ @Column(name = "revision", nullable = false)
+ public int getRevisionId() {
+ return revisionId;
+ }
+
+ public void setArticleId(int articleId) {
+ this.articleId = articleId;
+ }
+
+ public void setRevisionId(int revisionId) {
+ this.revisionId = revisionId;
+ }
+}