blob: bab4247506f6317bf96a326af4581a5cd86fc2c1 [file] [log] [blame]
Matthias Andreas Benkard2f0b3702020-01-12 15:46:34 +01001package eu.mulk.entity;
2
3import java.io.Serializable;
4import java.util.Objects;
5import javax.persistence.Column;
6import javax.persistence.Id;
7
8public class ArticleBranchTipPK implements Serializable {
9
10 private int articleId;
11 private int revisionId;
12
13 @Id
14 @Column(name = "article", nullable = false)
15 public int getArticleId() {
16 return articleId;
17 }
18
19 @Id
20 @Column(name = "revision", nullable = false)
21 public int getRevisionId() {
22 return revisionId;
23 }
24
25 public void setArticleId(int articleId) {
26 this.articleId = articleId;
27 }
28
29 public void setRevisionId(int revisionId) {
30 this.revisionId = revisionId;
31 }
32}