📄 goods.java
字号:
package com.model;
public class Goods {
private Integer ID=Integer.getInteger("-1");
private int typeID=-1;
private String goodsName="";
private String introduce="";
private float price=0f;
private float nowPrice=0f;
private String picture="";
private int newGoods=-1;
private int sale=-1;
public void goods(){
}
public Integer getID(){
return ID;
}
public void setID(Integer ID){
this.ID=ID;
}
public int getTypeID() {
return typeID;
}
public void setTypeID(int typeID) {
this.typeID = typeID;
}
public String getGoodsName(){
return goodsName;
}
public void setGoodsName(String goodsName){
this.goodsName=goodsName;
}
public String getIntroduce(){
return introduce;
}
public void setIntroduce(String introduce){
this.introduce=introduce;
}
public float getPrice(){
return price;
}
public void setPrice(float price){
this.price=price;
}
public float getNowPrice(){
return nowPrice;
}
public void setNowPrice(float nowPrice){
this.nowPrice=nowPrice;
}
public String getPicture(){
return picture;
}
public void setPicture(String picture){
this.picture=picture;
}
public int getNewGoods() {
return newGoods;
}
public void setNewGoods(int newGoods) {
this.newGoods = newGoods;
}
public int getSale() {
return sale;
}
public void setSale(int sale) {
this.sale = sale;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -