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

📄 goodsbean.java

📁 这是我用eclipse+tomcat开发的一个很小的 管理系统,用到了jsp和javabean,其中有一个goods.sql文件是数据库的脚本.因为我刚学J2EE,做得不好的地方,请原谅
💻 JAVA
字号:
package Bean;


// 商品类
public class GoodsBean
{
  private String goodsID;
  private String goodsName;
  private String goodsType;
  private int    goodsQuantity;
  private float  goodsPrice;

  public void setGoodsID(String ID)
  {
    this.goodsID = ID;
  }
  public String getGoodsID()
  {
    return this.goodsID;
  }

  public void setGoodsName(String name)
  {
    this.goodsName = name;
  }
  public String getGoodsName()
  {
    return this.goodsName;
  }

  public void setGoodsType(String type)
  {
    this.goodsType = type;
  }
  public String getGoodsType()
  {
    return this.goodsType;
  }

  public void setGoodsPrice(float price)
  {
    this.goodsPrice = price;
  }
  public float getGoodsPrice()
  {
    return this.goodsPrice;
  }

  public void setGoodsQuantity(int quantity)
  {
    this.goodsQuantity = quantity;
  }

  public int getGoodsQuantity()
  {
    return this.goodsQuantity;
  }
}

⌨️ 快捷键说明

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