productordered.java

来自「《Ajax开发精要〉〉该书详细的介绍了关于Ajax和java相关的开发知识」· Java 代码 · 共 35 行

JAVA
35
字号
package com.ajaxlab.ajax;

public class ProductOrdered {
	private String productName = "";
	private int count = 0;
	private String price = "0";
	
	public ProductOrdered() {
		
	}
	public ProductOrdered(String productName,int count, String price) {
		this.productName = productName;
		this.count = count;
		this.price = price;
	}
	public String getProductName() {
		return this.productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public int getCount() {
		return this.count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getPrice() {
		return this.price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
}

⌨️ 快捷键说明

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