📄 goods.java~4~
字号:
package commerce;
public class goods {
private int typeID=-1;
private String goodsName="";
private String introduce="";
private float price=(float)0.0; //此处必须强制类型转换
private float nowprice=(float)0.0;
private String picture="";
private int newgoods=-1;
private int sale=-1;
public void goods(){
}
public int getTypeID() {
return typeID;
}
public void setUTypeID(int typeID) {
this.typeID = typeID;
}
public String getGoodsName(){
return goodsName;
}
public void setGoodsName(String goodsName){
this.goodsName=goodsName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -