package org.ntlab.citrusserver.entities; public class Book { private int bookId; private String title; private boolean publicity; private String color; private String accountId; public Book(String accountId, Integer bookId, String title, boolean publicity, String color) { this.accountId = accountId; 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;} public boolean getPublicity() {return publicity;} public void setColor(String c) {color = c;} public String getColor() {return color;} public void setBookId(int id) {bookId = id;} public int getBookId() {return bookId;} public void setAccountId(String a) {accountId = a;} public String getAccountId() {return accountId;} }