diff --git a/src/main/java/com/ntlab/irisserver/entities/Turn.java b/src/main/java/com/ntlab/irisserver/entities/Turn.java new file mode 100644 index 0000000..862f48c --- /dev/null +++ b/src/main/java/com/ntlab/irisserver/entities/Turn.java @@ -0,0 +1,37 @@ +package com.ntlab.irisserver.entities; + +import com.fasterxml.jackson.annotation.JsonProperty; + +public class Turn { + + @JsonProperty("hint") + private String hint; + + @JsonProperty("team") + private String team; + + @JsonProperty("max") + private Integer max; + + //コンストラクタ + + //--------------------------------------------------------- + //セッター + + public void setHint(String hint) {this.hint = hint;} + + public void setTeam(String team) {this.team = team;} + + public void setMax(Integer max) {this.max = max;} + + //--------------------------------------------------------- + //ゲッター + + public String getHint() {return this.hint;} + + public String getTeam() {return this.team;} + + public Integer getMax() {return this.max;} + + +}