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

📄 book.java

📁 spring入门 spring入门spri ng入门 spring入门
💻 JAVA
字号:
package de.laliluna.library;
public class Book {
// unique number to indentify the book
private Integer id;
// hm the title
private String title;
// the authors name
private String author;
// null or the id of the client who borrowed the book
private Integer borrowedBy;
public Book(){
}

public Book(Integer id, String title, String author, Integer borrowedBy) {
	super();
	// TODO Auto-generated constructor stub
	this.id = id;
	this.title = title;
	this.author = author;
	this.borrowedBy = borrowedBy;
}

public String getAuthor() {
	return author;
}
public void setAuthor(String author) {
	this.author = author;
}
public Integer getBorrowedBy() {
	return borrowedBy;
}
public void setBorrowedBy(Integer borrowedBy) {
	this.borrowedBy = borrowedBy;
}
public Integer getId() {
	return id;
}
public void setId(Integer id) {
	this.id = id;
}
public String getTitle() {
	return title;
}
public void setTitle(String title) {
	this.title = title;
}

}

⌨️ 快捷键说明

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