package org.ntlab.citrusserver.entities; public class Book { private int bookId; private String title; private boolean publicity; private String color; private String accountId; private String time; public Book(String accountId, Integer bookId, String title, boolean publicity, String color, String time) { this.accountId = accountId; this.bookId = bookId; this.title = title; this.publicity = publicity; this.color = color; this.time = time; } 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;} public void setTime(String t) {time = t;} public String getTime() {return time;} }