?? detail.java
字號:
package com.lib.db;
import java.sql.Date;
public class Detail {
private String detail_id = null;
private String borrower_id = null;
private String isbn = null;
private Date borrow_date = null;
private String isRenew = null;
private Date renew_date = null;
private String isReturn = null;
private Date return_date = null;
private Float fine = 0f;
//以下為view 中從其他表增加的字段
private String borrower = null;
private String book = null;
public Detail(String detail_id, String borrower_id, String isbn, Date borrow_date, String isRenew, Date renew_date, String isReturn, Date return_date, Float fine, String borrower, String book) {
super();
this.detail_id = detail_id;
this.borrower_id = borrower_id;
this.isbn = isbn;
this.borrow_date = borrow_date;
this.isRenew = isRenew;
this.renew_date = renew_date;
this.isReturn = isReturn;
this.return_date = return_date;
this.fine = fine;
this.borrower = borrower;
this.book = book;
}
public String getBook() {
return book;
}
public void setBook(String book) {
this.book = book;
}
public Date getBorrow_date() {
return borrow_date;
}
public void setBorrow_date(Date borrow_date) {
this.borrow_date = borrow_date;
}
public String getBorrower() {
return borrower;
}
public void setBorrower(String borrower) {
this.borrower = borrower;
}
public String getBorrower_id() {
return borrower_id;
}
public void setBorrower_id(String borrower_id) {
this.borrower_id = borrower_id;
}
public String getDetail_id() {
return detail_id;
}
public void setDetail_id(String detail_id) {
this.detail_id = detail_id;
}
public Float getFine() {
return fine;
}
public void setFine(Float fine) {
this.fine = fine;
}
public String getIsbn() {
return isbn;
}
public void setIsbn(String isbn) {
this.isbn = isbn;
}
public String getIsRenew() {
return isRenew;
}
public void setIsRenew(String isRenew) {
this.isRenew = isRenew;
}
public String getIsReturn() {
return isReturn;
}
public void setIsReturn(String isReturn) {
this.isReturn = isReturn;
}
public Date getRenew_date() {
return renew_date;
}
public void setRenew_date(Date renew_date) {
this.renew_date = renew_date;
}
public Date getReturn_date() {
return return_date;
}
public void setReturn_date(Date return_date) {
this.return_date = return_date;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -