Newer
Older
CitrusServer / src / main / java / org / ntlab / citrusserver / entities / Todo.java
package org.ntlab.citrusserver.entities;

public class Todo {
    String title;
    boolean check;
    int year;
    int month;
    int day;
    Integer todoId;
    Integer bookId;

    public Todo(String title, boolean check, int year, int month, int day, Integer tid, Integer bid) {
        this.title = title;
        this.check = check;
        this.year = year;
        this.month = month;
        this.day = day;
        this.todoId = tid;
        this.bookId = bid;
    }
    //setter
    public void setTitle(String t) {title = t;}
    public void setCheck(boolean c) {check = c;}
    public void setYear(int y) {year = y;}
    public void setMonth(int m) {month = m;}
    public void setDay(int d) {day = d;}
    public void setTodoId(Integer t) {todoId = t;}
    public void setBookId(Integer b) {bookId = b;}
    //getter
    public String getTitle() {return title;}
    public boolean getCheck() {return check;}
    public int getYear() {return year;}
    public int getMonth() {return month;}
    public int getDay() {return day;}
    public Integer getTodoId() {return todoId;}
    public Integer getBookId() {return bookId;}




}