product.java

来自「一个简单的购物软件」· Java 代码 · 共 59 行

JAVA
59
字号
package HW;

public class Product {
	private String productid;
	private String category;
	private String name;
	private String producer;
	private float price; 
	private String descn;
	ProductBean dbc;
	public Product(){
		
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getDescn() {
		return descn;
	}
	public void setDescn(String descn) {
		this.descn = descn;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getProducer() {
		return producer;
	}
	public void setProducer(String producer) {
		this.producer = producer;
	}
	public String getProductid() {
		return productid;
	}
	public void setProductid(String productid) {
		this.productid = productid;
	}
	public ProductBean getDbc() {
		return dbc;
	}
	public void setDbc(ProductBean dbc) {
		this.dbc = dbc;
	}


}

⌨️ 快捷键说明

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