Newer
Older
CitrusServer / src / main / java / org / ntlab / citrusserver / entities / Todo.java
  1. package org.ntlab.citrusserver.entities;
  2.  
  3. public class Todo {
  4. String title;
  5. boolean check;
  6. int year;
  7. int month;
  8. int day;
  9. Integer todoId;
  10.  
  11. public Todo(String t, boolean c, int y, int m, int d, Integer tid) {
  12. title = t;
  13. check = c;
  14. year = y;
  15. month = m;
  16. day = d;
  17. todoId = tid;
  18. }
  19. public void setTitle(String t) {title = t;}
  20. public String getTitle() {return title;}
  21. public void setCheck(boolean c) {check = c;}
  22. public boolean getCheck() {return check;}
  23. public void setYear(int y) {year = y;}
  24. public int getYear() {return year;}
  25. public void setMonth(int m) {month = m;}
  26. public int getMonth() {return month;}
  27. public void setDay(int d) {day = d;}
  28. public int getDay() {return day;}
  29. public void setTodoId(Integer t) {todoId = t;}
  30. public Integer getTodoId() {
  31. return todoId;
  32. }
  33. }