Matthias Andreas Benkard | 2f0b370 | 2020-01-12 15:46:34 +0100 | [diff] [blame^] | 1 | package eu.mulk.entity; |
| 2 | |
| 3 | import java.io.Serializable; |
| 4 | import javax.persistence.Id; |
| 5 | |
| 6 | public class ArticleRevisionCharacteristicPK implements Serializable { |
| 7 | private String characteristic; |
| 8 | private int articleRevisionId; |
| 9 | |
| 10 | @Id |
| 11 | public String getCharacteristic() { |
| 12 | return characteristic; |
| 13 | } |
| 14 | |
| 15 | public void setCharacteristic(String characteristic) { |
| 16 | this.characteristic = characteristic; |
| 17 | } |
| 18 | |
| 19 | @Id |
| 20 | public int getArticleRevisionId() { |
| 21 | return articleRevisionId; |
| 22 | } |
| 23 | |
| 24 | public void setArticleRevisionId(int articleRevisionId) { |
| 25 | this.articleRevisionId = articleRevisionId; |
| 26 | } |
| 27 | } |