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

📄 detail.java

📁 基于javaSwing的图书馆信息管理系统 使用oracle数据库连接
💻 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 + -