Newer
Older
IrisServer / src / main / java / com / ntlab / irisserver / entities / Drawing.java
package com.ntlab.irisserver.entities;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;

public class Drawing {

    // お題
    @JsonProperty("title")
    private String title;

    // 作者名
    @JsonProperty("member")
    private String member;

    @JsonProperty("drawing")
    private String drawing;

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

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

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

}