diff --git a/src/main/java/com/ntlab/irisserver/entities/Drawing.java b/src/main/java/com/ntlab/irisserver/entities/Drawing.java index 584889a..bd51375 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Drawing.java +++ b/src/main/java/com/ntlab/irisserver/entities/Drawing.java @@ -6,6 +6,14 @@ public class Drawing { + // お題 + @JsonProperty("title") + private String title; + + // 作者名 + @JsonProperty("member") + private String member; + @JsonProperty("drawing") private String drawing; @@ -15,6 +23,12 @@ //----------------------------------------------------------------- // getter + public String getTitle() { + return this.title; + } + public String getMember() { + return this.member; + } public String getDrawing() { return this.drawing; } @@ -24,6 +38,8 @@ //----------------------------------------------------------------- // setter + public void setTitle(String title) {this.title = title;} + public void setMember(String member) {this.member = member;} public void setDrawing(String drawing) {this.drawing = drawing;} public void setIsDrawn(Boolean status) {this.isDrawn = status;}