📄 cartitembean.java
字号:
package com.apache.pojo;
import java.io.Serializable;
public class CartItemBean implements Serializable {
private static final long serialVersionUID = 1L;
private BookBean book;
private int quantity;
/**
* @return book
*/
public BookBean getBook() {
return book;
}
/**
* @param book
* 要设置的 book
*/
public void setBook(BookBean book) {
this.book = book;
}
/**
* @return quantity
*/
public int getQuantity() {
return quantity;
}
/**
* @param quantity
* 要设置的 quantity
*/
public void setQuantity(int quantity) {
this.quantity = quantity;
}
public CartItemBean(BookBean book, int number) {
this.book = book;
this.quantity = number;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -