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

📄 goodsbean.java~1~

📁 模仿Taobao购物网
💻 JAVA~1~
字号:
package taobaoproject;

public class GoodsBean {
    private int classID;//类别ID
    private String className;//类别名
    private int goodsID;//商品ID
    private String goodsName;//商品名
    private String goodsIntroduce;//商品简介
    private String goodsBrand;//商品品牌名
    private String goodsUrl;//商品图像
    private float marketPrice;//市场价格
    private float memberPrice;//会员价格
    private int iserfinement;//是否是精品
    private int isHot;//IsHot
    private String addDate;//进货日期
    private int isDiscount;//是否是特价商品
    public int getClassID() {
        return classID;
    }

    public String getClassName() {
        return className;
    }

    public int getGoodsID() {
        return goodsID;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public String getGoodsIntroduce() {
        return goodsIntroduce;
    }

    public String getGoodsBrand() {
        return goodsBrand;
    }

    public String getGoodsUrl() {
        return goodsUrl;
    }

    public float getMarketPrice() {
        return marketPrice;
    }

    public float getMemberPrice() {
        return memberPrice;
    }

    public int getIserfinement() {
        return iserfinement;
    }

    public int getIsHot() {
        return isHot;
    }

    public String getAddDate() {
        return addDate;
    }

    public int getIsDiscount() {
        return isDiscount;
    }

    public void setClassID(int classID) {
        this.classID = classID;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public void setGoodsID(int goodsID) {
        this.goodsID = goodsID;
    }

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

    public void setGoodsIntroduce(String goodsIntroduce) {
        this.goodsIntroduce = goodsIntroduce;
    }

    public void setGoodsBrand(String goodsBrand) {
        this.goodsBrand = goodsBrand;
    }

    public void setGoodsUrl(String goodsUrl) {
        this.goodsUrl = goodsUrl;
    }

    public void setMarketPrice(float marketPrice) {
        this.marketPrice = marketPrice;
    }

    public void setMemberPrice(float memberPrice) {
        this.memberPrice = memberPrice;
    }

    public void setIserfinement(int iserfinement) {
        this.iserfinement = iserfinement;
    }

    public void setIsHot(int isHot) {
        this.isHot = isHot;
    }

    public void setAddDate(String addDate) {
        this.addDate = addDate;
    }

    public void setIsDiscount(int isDiscount) {
        this.isDiscount = isDiscount;
    }
}

⌨️ 快捷键说明

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