From af7334e42ad216f0b05d17bc3cd6d08695693d4e Mon Sep 17 00:00:00 2001 From: norangebit Date: Sun, 10 Nov 2019 11:16:40 +0100 Subject: [PATCH] add Member and Label - add field labels to Board - add field members to Board - add enum LabelColor --- .../main/java/wekan/wrapper/entity/Board.java | 19 +++++-- .../main/java/wekan/wrapper/entity/Label.java | 25 +++++++++ .../java/wekan/wrapper/entity/LabelColor.java | 54 +++++++++++++++++++ .../java/wekan/wrapper/entity/Member.java | 28 ++++++++++ 4 files changed, 122 insertions(+), 4 deletions(-) create mode 100644 wrapper/src/main/java/wekan/wrapper/entity/Label.java create mode 100644 wrapper/src/main/java/wekan/wrapper/entity/LabelColor.java create mode 100644 wrapper/src/main/java/wekan/wrapper/entity/Member.java diff --git a/wrapper/src/main/java/wekan/wrapper/entity/Board.java b/wrapper/src/main/java/wekan/wrapper/entity/Board.java index a082b4f..96a9eea 100644 --- a/wrapper/src/main/java/wekan/wrapper/entity/Board.java +++ b/wrapper/src/main/java/wekan/wrapper/entity/Board.java @@ -3,6 +3,7 @@ package wekan.wrapper.entity; import com.google.gson.annotations.SerializedName; import java.util.Date; +import java.util.List; public class Board { @SerializedName("_id") @@ -13,8 +14,8 @@ public class Board { private Date createdAt; private Date modifiedAt; private int starts; - // TODO list of labels - // TODO list of members + private List