adding color properties to label
This commit is contained in:
committed by
Ezequiel Bergamaschi
parent
deb6c4be4d
commit
154db9d9e8
@@ -11,6 +11,7 @@ public class Label {
|
||||
@NotNull private String title;
|
||||
@NotNull private User creator;
|
||||
@Nullable private Label parent;
|
||||
@NotNull private String color;
|
||||
|
||||
public void setParent(@Nullable Label parent) {
|
||||
this.parent = parent;
|
||||
@@ -46,4 +47,13 @@ public class Label {
|
||||
public void setId(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String getColor() {
|
||||
return color;
|
||||
}
|
||||
|
||||
public void setColor(@NotNull String color) {
|
||||
this.color = color;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user