⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cartitembean.java

📁 主要是用net开发的 用mvc模式 有酒店管理
💻 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 + -