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

📄 cartitem.java

📁 该代码是Java数据库高级编程宝典中的重要的代码
💻 JAVA
字号:
package jdbcbook.shopping.bean;

import jdbcbook.shopping.form.Product;
import java.math.BigDecimal;

public class CartItem
{
	// 购买的商品
	private		Product	product;
	public Product getProduct( )
	{
		return this.product;
	}
	public void setProduct( Product product )
	{
		this.product = product;
	}

	// 购买的数量
	private		int	quantity;
	public int getQuantity( )
	{
		return this.quantity;
	}
	public void setQuantity( int quantity )
	{
		this.quantity = quantity;
	}

	// 总费用
	private		BigDecimal	totalfee;
	public BigDecimal getTotalfee( )
	{
		return this.totalfee;
	}
	public void setTotalfee( BigDecimal totalfee )
	{
		this.totalfee = totalfee;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -