diff --git a/src/main/java/org/ntlab/citrusserver/entities/Book.java b/src/main/java/org/ntlab/citrusserver/entities/Book.java index f9aec9b..ace7bdf 100644 --- a/src/main/java/org/ntlab/citrusserver/entities/Book.java +++ b/src/main/java/org/ntlab/citrusserver/entities/Book.java @@ -8,12 +8,15 @@ private int bookId; private int todoId = 0; - public Book(String title, boolean publicity, String color) { + public Book(Integer bookid, String title, boolean publicity, String color) { + this.bookId = bookid; + this.title = title; this.publicity = publicity; this.color = color; } + public void setTitle(String t) {title = t;} public String getTitle() {return title;} public void setPublicity(boolean p) {publicity = p;}