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

📄 product.java

📁 jsp做的购物网站
💻 JAVA
字号:
package jspD;

import java.io.Serializable;

public class Product implements Serializable{
	private String pName;
	private String producer;
	private float price;
	private int quantity;
	private int ID;
	private int maxQuantity;
	
	public void setPName(String pName){
	    this.pName = pName;
	}
	
	public String getPName(){
	    return this.pName;
	}
	
	public void setProducer(String producer){
	    this.producer = producer;
	}
	
	public String getProducer(){
	    return this.producer;
	}
	
	public void setPrice(float price){
	    this.price = price;
	}
	
	public float getPrice(){
	    return this.price;
	}
	
	public void setQuantity(int quantity){
	    this.quantity = quantity;
	}
	
	public int getQuantity(){
	    return this.quantity;
	}
	
	public void setID(int id){
	    this.ID= id;
	}
	
	public int getID(){
	    return this.ID;
	}
	
	public void setMaxQuantity(int maxQuantity){
	    this.maxQuantity= maxQuantity;
	}
	
	public int getMaxQuantity(){
	    return this.maxQuantity;
	}
}

⌨️ 快捷键说明

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