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