Add the bugfix property for version-revision.

This commit is contained in:
2018-09-03 22:11:08 +02:00
parent 512f5a7168
commit 862175e643
5 changed files with 43 additions and 16 deletions
@@ -22,6 +22,8 @@ public class VersionRevision implements Serializable {
private String text;
private Boolean bugfix;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "version_id")
private Version version;
@@ -42,6 +44,14 @@ public class VersionRevision implements Serializable {
this.text = text;
}
public Boolean getBugfix() {
return bugfix;
}
public void setBugfix(Boolean bugfix) {
this.bugfix = bugfix;
}
public Version getVersion() {
return version;
}