⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 borrowbookvo.java

📁 一个简单的图书馆的管理系统,该系统主要是针对学校的图书馆而做的
💻 JAVA
字号:
package librarymanagement.vo;

import javax.swing.JLabel;

/**
 * 读者借阅图书信息类
 * @author 虎兴龙
 *
 */
public class BorrowBookVo {
private int readerId,bookId,notReturnNum;
private String readerName,bookName;
private String condition,position,acd,lendOutTime,shouldReturnTime;
private float bookPrice;
public BorrowBookVo(int readerId, int bookId, String readerName, String acd,String bookName,String condition,
		String position, float bookPrice,int not) {
	super();
	this.readerId = readerId;
	this.bookId = bookId;
	this.readerName = readerName;
	this.bookName = bookName;
	this.notReturnNum = not;


	this.position = position;
	this.bookPrice = bookPrice;
	this.condition = condition;
	this.acd = acd;
}
/**
 * 用于构造续借书时从数据库中查询出的信息对象
 * @param bookId
 * @param readerId
 * @param lendOutTime
 * @param bookName
 * @param readerName
 */
public BorrowBookVo(int bookId, int readerId, 
		String readerName,String bookName, String lendOutTime) {
	super();
	this.bookId = bookId;
	this.bookName = bookName;
	this.lendOutTime = lendOutTime;
	this.readerId = readerId;
	this.readerName = readerName;
}
/**
 * 在向读者借阅信息表中添加数据时构造对象
 * @param bookId2
 * @param readerId2
 * @param lendTime
 * @param returnTime
 */
public BorrowBookVo(int bookId2, int readerId2, String lendTime,
		String returnTime) {
	this.bookId = bookId2;
	this.readerId = readerId2;
	this.lendOutTime = lendTime;
	this.shouldReturnTime = returnTime;
}
/**
 * 用于获得续借对话框输入数据对象
 * @param bookId2
 * @param readerId2
 * @param returnTime
 */
public BorrowBookVo(int bookId2, int readerId2, 
		String returnTime) {
	this.bookId = bookId2;
	this.readerId = readerId2;
	this.shouldReturnTime = returnTime;
}
public String getCondition() {
	return condition;
}

public int getNotReturnNum() {
	return notReturnNum;
}
public void setNotReturnNum(int notReturnNum) {
	this.notReturnNum = notReturnNum;
}
public String getLendOutTime() {
	return lendOutTime;
}
public void setLendOutTime(String lendOutTime) {
	this.lendOutTime = lendOutTime;
}
public String getShouldReturnTime() {
	return shouldReturnTime;
}
public void setShouldReturnTime(String shouldReturnTime) {
	this.shouldReturnTime = shouldReturnTime;
}
public void setCondition(String condition) {
	this.condition = condition;
}
public String getAcd() {
	return acd;
}
public void setAcd(String acd) {
	this.acd = acd;
}
public int getBookId() {
	return bookId;
}
public void setBookId(int bookId) {
	this.bookId = bookId;
}
public String getBookName() {
	return bookName;
}
public void setBookName(String bookName) {
	this.bookName = bookName;
}
public float getBookPrice() {
	return bookPrice;
}
public void setBookPrice(float bookPrice) {
	this.bookPrice = bookPrice;
}
/*public String getLendDate() {
	return lendDate;
}
public void setLendDate(String lendDate) {
	this.lendDate = lendDate;
}*/
public String getPosition() {
	return position;
}
public void setPosition(String position) {
	this.position = position;
}
public int getReaderId() {
	return readerId;
}
public void setReaderId(int readerId) {
	this.readerId = readerId;
}
public String getReaderName() {
	return readerName;
}
public void setReaderName(String readerName) {
	this.readerName = readerName;
}


}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -