cartitembean.java
来自「主要是用net开发的 用mvc模式 有酒店管理」· Java 代码 · 共 50 行
JAVA
50 行
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 + =
减小字号Ctrl + -
显示快捷键?