📄 lineitem.java
字号:
package apusic.myshop.order.model;/** * This class represents the line item details of an order. * This is a helper class used by remote class Order for * displaying the line item details of an order. */public class LineItem implements java.io.Serializable { private String itemNo; private int qty; private double unitPrice; private int lineNo; public LineItem () { itemNo = new String(); qty = 0; unitPrice = 0; lineNo = 0; } public LineItem (String itemNo, int qty, double unitPrice, int lineNo) { this.itemNo = itemNo; this.qty = qty; this.unitPrice = unitPrice; this.lineNo = lineNo; } public String getItemNo() { return itemNo; } public int getQty() { return qty; } public double getUnitPrice() { return unitPrice; } public int getLineNo() { return lineNo; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -