【Java开源代码栏目提醒】:网学会员Java开源代码为您提供BorrowInfo.java参考,解决您在BorrowInfo.java学习中工作中的难题,参考学习。
import java.util.Date;
/**
* 读者借阅信息,包括读者所借过书的书名、作者、出版社、借书时间、还书时间、 应还时间、超期天数、罚款金额等
*/
public class BorrowInfo implements java.io.Serializable {
private static final long serialVersionUID = 8729453305993405592L;
protected String bookName;
protected String bookAuthors;
protected String pubilisher;
protected Date borrowDate;
protected Date dueDate;
protected Date returnDate;
protected int overduedays;
protected double finedMoney;
public BorrowInfo() {
// TODO Auto-generated constructor stub
}
public BorrowInfo(String bookName, String bookAuthors, String pubilisher,
Date borrowDate, Date dueDate, Date returnDate, int overduedays,
double finedMoney) {
super();
this.bookName = bookName;
this.bookAuthors = bookAuthors;
this.pubilisher = pubilisher;
this.borrowDate = borrowDate;
this.dueDate = dueDate;
this.returnDate = returnDate;
this.overduedays = overduedays;
this.finedMoney = finedMoney;
}
public String getBookName() {
return bookName;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public String getBookAuthors() {
return bookAuthors;
}
public void setBookAuthors(String bookAuthors) {
this.bookAuthors = bookAuthors;
}
public String getPubilisher() {
return pubilisher;
}
public void setPubilisher(String pubilisher) {
this.pubilisher = pubilisher;
}
public Date getBorrowDate() {
return borrowDate;
}
public void setBorrowDate(Date borrowDate) {
this.borrowDate = borrowDate;
}
public Date getDueDate() {
return dueDate;
}
public void setDueDate(Date dueDate) {
this.dueDate = dueDate;
}
public Date getReturnDate() {
return returnDate;
}
public void setReturnDate(Date returnDate) {
this.returnDate = returnDate;
}
public int getOverduedays() {
return overduedays;
}
public void setOverduedays(int overduedays) {
this.overduedays = overduedays;
}
public double getFinedMoney() {
return finedMoney;
}
public void setFinedMoney(double finedMoney) {
this.finedMoney = finedMoney;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
}