?? shoppingcartitem.java
字號:
/**
*
*/
package com.ascent.util;
import java.io.Serializable;
import com.ascent.bean.Book;
public class ShoppingCartItem implements Serializable {
private Book book = null;
private int quantity = 1;
public void setBook(Book book) {
this.book = book;
}
public Book getBook() {
return this.getBook();
}
public int getQuantity() {
return this.quantity;
}
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public int getBookId() {
return this.book.getBookId().intValue();
}
public double getBookPrice() {
return this.book.getBookPrice().doubleValue();
}
public String getBookName() {
return this.book.getBookName();
}
public String getBookAuthor() {
return this.book.getBookAuthor();
}
public String getDescribes() {
return this.book.getDescribes();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -