diff --git a/src/main/java/com/ntlab/irisserver/entities/Drawing.java b/src/main/java/com/ntlab/irisserver/entities/Drawing.java index bd51375..c49a153 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Drawing.java +++ b/src/main/java/com/ntlab/irisserver/entities/Drawing.java @@ -3,6 +3,9 @@ import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; public class Drawing { @@ -13,7 +16,7 @@ // 作者名 @JsonProperty("member") private String member; - + // 絵のデータ @JsonProperty("drawing") private String drawing; @@ -21,6 +24,10 @@ @JsonProperty("isDrawn") private Boolean isDrawn; + // リストに何を持たすかは相談したいところなので仮置き。。。 + private Map drawings = new HashMap<>(); + + //----------------------------------------------------------------- // getter public String getTitle() {