Newer
Older
IrisServer / src / main / java / com / ntlab / irisserver / entities / Drawing.java
yugo-asano on 24 May 2022 768 bytes Drawingクラスを完成させました。
package com.ntlab.irisserver.entities;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;

public class Drawing {

    @JsonProperty("drawing")
    private String drawing;

    // true: 終了, false: まだ描かれていない
    @JsonProperty("isDrawn")
    private Boolean isDrawn;

    //-----------------------------------------------------------------
    // getter
    public String getDrawing() {
        return this.drawing;
    }
    public Boolean isDrawn() {
        return this.isDrawn;
    }

    //-----------------------------------------------------------------
    // setter
    public void setDrawing(String drawing) {this.drawing = drawing;}
    public void setIsDrawn(Boolean status) {this.isDrawn = status;}

}