Add color class
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Umberto Furno 2019-11-12 12:18:09 +01:00
parent 53d3459fc1
commit 182b070b83

View File

@ -6,7 +6,7 @@ import java.util.List;
public class Card { public class Card {
//Constructor for update card //Constructor for add card
public Card(String authorId, String title, String swimlaneId, String description) { public Card(String authorId, String title, String swimlaneId, String description) {
this.authorId= authorId; this.authorId= authorId;
this.title = title; this.title = title;
@ -81,11 +81,11 @@ public class Card {
this.coverId = coverId; this.coverId = coverId;
} }
public String getColor() { public Color getColor() {
return color; return color;
} }
public void setColor(String color) { public void setColor(Color color) {
this.color = color; this.color = color;
} }
@ -302,7 +302,7 @@ public class Card {
private String swimlaneId; private String swimlaneId;
private String boardId; private String boardId;
private String coverId; private String coverId;
private String color; private Color color;
private Date createdAt; private Date createdAt;
private Date modifiedAt; private Date modifiedAt;
private List<String> customFields; private List<String> customFields;