Newer
Older
IrisServer / src / main / java / com / ntlab / irisserver / entities / Drawing.java
  1. package com.ntlab.irisserver.entities;
  2.  
  3. import com.fasterxml.jackson.annotation.JsonProperty;
  4.  
  5. import java.util.ArrayList;
  6.  
  7. public class Drawing {
  8.  
  9. // お題
  10. @JsonProperty("title")
  11. private String title;
  12.  
  13. // 作者名
  14. @JsonProperty("member")
  15. private String member;
  16.  
  17. @JsonProperty("drawing")
  18. private String drawing;
  19.  
  20. // true: 終了, false: まだ描かれていない
  21. @JsonProperty("isDrawn")
  22. private Boolean isDrawn;
  23.  
  24. //-----------------------------------------------------------------
  25. // getter
  26. public String getTitle() {
  27. return this.title;
  28. }
  29. public String getMember() {
  30. return this.member;
  31. }
  32. public String getDrawing() {
  33. return this.drawing;
  34. }
  35. public Boolean isDrawn() {
  36. return this.isDrawn;
  37. }
  38.  
  39. //-----------------------------------------------------------------
  40. // setter
  41. public void setTitle(String title) {this.title = title;}
  42. public void setMember(String member) {this.member = member;}
  43. public void setDrawing(String drawing) {this.drawing = drawing;}
  44. public void setIsDrawn(Boolean status) {this.isDrawn = status;}
  45.  
  46. }