ware.java
来自「jsp网上书店系统(论文+源程序).rar JSP开发的」· Java 代码 · 共 48 行
JAVA
48 行
package BookShop;
public class Ware{
private String id;
private String name;
private int quantity;
private float price;
private float countprice;
public Ware(){
id="";
price=0;
quantity=0;
countprice=0;
}
public void setId (String id){
this.id=id;
}
public String getId(){
return id;
}
public void setName (String name){
this.name=name;
}
public String getName(){
return name;
}
public void setCountprice(float countprice){
this.countprice=countprice;
}
public float getCountprice(){
return countprice;
}
public void setPrice(float price){
this.price=price;
}
public float getPrice(){
return price;
}
public void setQuantity (int quantity){
this.quantity=quantity;
}
public int getQuantity(){
return quantity;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?