?? cartitembean.java
字號:
package bean;
import java.io.*;
public class CartItemBean implements Serializable{
private BookBean book;
private int quantity;
public CartItemBean(BookBean bookToAdd,int number){
book=bookToAdd;
quantity=number;
}
public BookBean getBook() {
return book;
}
public void setBook(BookBean book) {
this.book = book;
}
public int getQuantity() {
return quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -