diff --git a/src/main/java/com/ntlab/irisserver/entities/Cell.java b/src/main/java/com/ntlab/irisserver/entities/Cell.java index 1e4cdc2..1217fb0 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Cell.java +++ b/src/main/java/com/ntlab/irisserver/entities/Cell.java @@ -16,10 +16,12 @@ @JsonProperty("cno") public int cno; + //コンストラクタ public Cell(){ - isOpen=false; + isOpen = false; } + //setter public void setIsOpen(boolean isOpen) {this.isOpen = isOpen;} public void setColor(String color) {this.color = color;} @@ -28,6 +30,7 @@ public void setCno(int cno) {this.cno = cno;} + //getter public boolean getIsOpen() {return this.isOpen;} public String getColor() {return this.color;} @@ -35,5 +38,4 @@ public int getDno() {return this.dno;} public int getCno() {return this.cno;} - }