diff --git a/wrapper/src/main/java/wekan/wrapper/entity/Card.java b/wrapper/src/main/java/wekan/wrapper/entity/Card.java index 24b6918..14d7bde 100644 --- a/wrapper/src/main/java/wekan/wrapper/entity/Card.java +++ b/wrapper/src/main/java/wekan/wrapper/entity/Card.java @@ -6,7 +6,7 @@ import java.util.List; public class Card { - //Constructor for update card + //Constructor for add card public Card(String authorId, String title, String swimlaneId, String description) { this.authorId= authorId; this.title = title; @@ -81,11 +81,11 @@ public class Card { this.coverId = coverId; } - public String getColor() { + public Color getColor() { return color; } - public void setColor(String color) { + public void setColor(Color color) { this.color = color; } @@ -302,7 +302,7 @@ public class Card { private String swimlaneId; private String boardId; private String coverId; - private String color; + private Color color; private Date createdAt; private Date modifiedAt; private List customFields;