buymessbean.java

来自「网上购物源代码」· Java 代码 · 共 65 行

JAVA
65
字号
/**
 * 
 */
package com.chinaaccpbean;

/**
 * @author Administrator
 *
 */
public class BuyMessBean {

	private String bookname;
	private int quantity;
	private double price;
	private double total;
	/**
	 * @return bookname
	 */
	public String getBookname() {
		return bookname;
	}
	/**
	 * @param bookname 要设置的 bookname
	 */
	public void setBookname(String bookname) {
		this.bookname = bookname;
	}
	/**
	 * @return price
	 */
	public double getPrice() {
		return price;
	}
	/**
	 * @param price 要设置的 price
	 */
	public void setPrice(double price) {
		this.price = price;
	}
	/**
	 * @return quantity
	 */
	public int getQuantity() {
		return quantity;
	}
	/**
	 * @param quantity 要设置的 quantity
	 */
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	/**
	 * @return total
	 */
	public double getTotal() {
		return total;
	}
	/**
	 * @param total 要设置的 total
	 */
	public void setTotal(double total) {
		this.total = total;
	}
}

⌨️ 快捷键说明

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