diff --git a/src/main/java/org/ntlab/citrusserver/entities/Todo.java b/src/main/java/org/ntlab/citrusserver/entities/Todo.java index c65bd5b..8ba929b 100644 --- a/src/main/java/org/ntlab/citrusserver/entities/Todo.java +++ b/src/main/java/org/ntlab/citrusserver/entities/Todo.java @@ -8,6 +8,14 @@ int day; Integer todoId; + public Todo(String t, boolean c, int y, int m, int d, Integer tid) { + title = t; + check = c; + year = y; + month = m; + day = d; + todoId = tid; + } public void setTitle(String t) {title = t;} public String getTitle() {return title;} public void setCheck(boolean c) {check = c;}