📄 orderline.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -