diff --git a/src/main/java/com/ntlab/irisserver/entities/Cell.java b/src/main/java/com/ntlab/irisserver/entities/Cell.java index 1bc894e..5eca7ac 100644 --- a/src/main/java/com/ntlab/irisserver/entities/Cell.java +++ b/src/main/java/com/ntlab/irisserver/entities/Cell.java @@ -8,10 +8,13 @@ private boolean isOpen; @JsonProperty("color") - private String color; + public String color; @JsonProperty("dno") - private int dno; + public int dno; + + @JsonProperty("cno") + public int cno; public Cell(){ isOpen=false; @@ -24,10 +27,14 @@ public void setDno(int dno) {this.dno = dno;} + public void setCno(int cno) {this.cno = cno;} + public boolean getIsOpen() {return this.isOpen;} public String getColor() {return this.color;} public int getDno() {return this.dno;} + public int getCno() {return this.cno;} + }