orderline.java

来自「这是一个小程序 网上书店用的 我们学生做的一个小实验」· Java 代码 · 共 77 行

JAVA
77
字号
package bean;
/** 
 * This bean represents a line on the order.
 *
 * @author  ProjectGroup
 * @version 1.0.0
 */
public class OrderLine {

	private String num;
	private String isbn;
	private int quantity;
	private String over;
	/**
	 * @param num
	 * @param isbn
	 * @param quantity
	 */
	public OrderLine(String num, String isbn, int quantity) {
		this.num = num;
		this.isbn = isbn;
		this.quantity = quantity;
		this.over =null;
	}
	/**
	 * @return the isbn
	 */
	public String getIsbn() {
		return isbn;
	}
	/**
	 * @param isbn the isbn to set
	 */
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	/**
	 * @return the num
	 */
	public String getNum() {
		return num;
	}
	/**
	 * @param num the num to set
	 */
	public void setNum(String num) {
		this.num = num;
	}
	/**
	 * @return the over
	 */
	public String getOver() {
		return over;
	}
	/**
	 * @param over the over to set
	 */
	public void setOver(String over) {
		this.over = over;
	}
	/**
	 * @return the quantity
	 */
	public int getQuantity() {
		return quantity;
	}
	/**
	 * @param quantity the quantity to set
	 */
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	
	
	
}

⌨️ 快捷键说明

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