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

📄 book.java

📁 用Java WEB写的图书管理系统
💻 JAVA
字号:
package book;

import java.util.Date;

public class Book {
	private String bookId = "";
	private String bookName = "";
	private String publish = "";
	private String author = "";
	private String ISBN = "";
	private String dianSort = "";
	private String standardSort = "";
	private float price = 0;
	private Date checkInTime = null;
	private String introduce = "";
	private String remark = "";
	// 0 书籍在架上、1 书籍处于借阅状态、2书籍处于预约状态
	private int state = 0;
	
	private Date borrowTime = null;
	private Date returnTime = null;
	private Date bookingTime = null;

	public Date getBookingTime() {
		return bookingTime;
	}

	public void setBookingTime(Date bookingTime) {
		this.bookingTime = bookingTime;
	}

	public Date getBorrowTime() {
		return borrowTime;
	}

	public void setBorrowTime(Date borrowTime) {
		this.borrowTime = borrowTime;
	}

	public Date getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}

	public void getAllinfo() {
		String info = getBookId() + " " + getBookName() + " " + getPublish()
				+ " " + getAuthor() + " " + getISBN() + " " + getDianSort()
				+ " " + getStandardSort() + " " + getPrice() + " "
				+ getCheckInTime() + " " + getIntroduce() + " " + getRemark()
				+ " " + getState() + " " + getBookingTime() + " " + getBorrowTime()
				+ " " + getReturnTime();

		System.out.println(info);
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getPublish() {
		return publish;
	}

	public void setPublish(String publish) {
		this.publish = publish;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getISBN() {
		return ISBN;
	}

	public void setISBN(String isbn) {
		ISBN = isbn;
	}

	public String getDianSort() {
		return dianSort;
	}

	public void setDianSort(String dianSort) {
		this.dianSort = dianSort;
	}

	public String getStandardSort() {
		return standardSort;
	}

	public void setStandardSort(String standardSort) {
		this.standardSort = standardSort;
	}

	public float getPrice() {
		return price;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public Date getCheckInTime() {
		return checkInTime;
	}

	public void setCheckInTime(Date checkInTime) {
		this.checkInTime = checkInTime;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}

⌨️ 快捷键说明

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