首页>代码>javabean+servlet+jsp开发商品后台管理系统(源码+数据库脚本)>/JavaWebProject_v1.0/src/com/yueqian/project/bean/Goods.java
package com.yueqian.project.bean; /** * @ClassName: Goods * @Description:根据goods表编写实体类,主要封装跟goods表相关的数据 * @author: 冯老师 QQ:2506075234 * @date: 2021年3月16日 下午3:26:16 * * @Copyright: 2021 www.gec-edu.org Inc. All rights reserved. * */ public class Goods { private Integer goodId;// 商品编号 private String goodName;// 商品名称 private String goodType;// 商品类别 private String goodPic;// 商品图片 private Double goodPrice;// 商品价格 private int goodNum;// 商品数量 private String goodDetail;// 商品明细 public Goods() {// 无参构造不能忘记 super(); } public Goods(String goodName, String goodType, String goodPic, Double goodPrice, int goodNum, String goodDetail) { super(); this.goodName = goodName; this.goodType = goodType; this.goodPic = goodPic; this.goodPrice = goodPrice; this.goodNum = goodNum; this.goodDetail = goodDetail; } public Goods(Integer goodId, String goodName, String goodType, String goodPic, Double goodPrice, int goodNum, String goodDetail) { super(); this.goodId = goodId; this.goodName = goodName; this.goodType = goodType; this.goodPic = goodPic; this.goodPrice = goodPrice; this.goodNum = goodNum; this.goodDetail = goodDetail; } public Integer getGoodId() { return goodId; } public void setGoodId(Integer goodId) { this.goodId = goodId; } public String getGoodName() { return goodName; } public void setGoodName(String goodName) { this.goodName = goodName; } public String getGoodType() { return goodType; } public void setGoodType(String goodType) { this.goodType = goodType; } public String getGoodPic() { return goodPic; } public void setGoodPic(String goodPic) { this.goodPic = goodPic; } public Double getGoodPrice() { return goodPrice; } public void setGoodPrice(Double goodPrice) { this.goodPrice = goodPrice; } public int getGoodNum() { return goodNum; } public void setGoodNum(int goodNum) { this.goodNum = goodNum; } public String getGoodDetail() { return goodDetail; } public void setGoodDetail(String goodDetail) { this.goodDetail = goodDetail; } @Override public String toString() { return "Goods [goodId=" + goodId + ", goodName=" + goodName + ", goodType=" + goodType + ", goodPic=" + goodPic + ", goodPrice=" + goodPrice + ", goodNum=" + goodNum + ", goodDetail=" + goodDetail + "]"; } }
最近下载更多
最近浏览更多
吴明艳
11月25日
暂无贡献等级
111p1238
11月11日
暂无贡献等级
oolong7
6月30日
暂无贡献等级
ma406805131 LV16
6月29日
3038169233 LV1
6月29日
cong58cong LV8
6月26日
liyan54188 LV2
6月25日
TY0165 LV20
6月18日
000000111111
6月18日
暂无贡献等级
微信网友_7041475584184320
6月17日
暂无贡献等级