package com.ntlab.irisserver.entities; import com.fasterxml.jackson.annotation.JsonProperty; public class Card { @JsonProperty("isOpen") private boolean isOpen; @JsonProperty("color") private String color; @JsonProperty("dno") private int dno; public void setIsOpen(boolean isOpen) {this.isOpen = isOpen;} public void setColor(String color) {this.color = color;} public void setDno(int dno) {this.dno = dno;} public boolean getIsOpen() {return this.isOpen;} public String getColor() {return this.color;} public int getDno() {return this.dno;} }