Newer
Older
CitrusClient / app / src / main / java / com / example / citrusclient / models / Todo.java
package com.example.citrusclient.models;

public class Todo {

    String accountId;
    Integer bookId;
    String title;
    boolean check;
    int year;
    int month;
    int day;
    Integer todoId;

    //セッター
    public void setAccountId(String aid) {accountId = aid;}
    public void setBookId(Integer bid) {bookId = bid;}
    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 String getAccountId() {return accountId;}
    public Integer getBookId(){return bookId;}
    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;
    }
}