package lj.model; import java.io.Serializable; /** * 商品信息 * @author samlv * */ public class GoodInfo implements Serializable { private String goodId; // 商品编号 private String goodName; // 商品名称 private String goodTaste; //商品口味 private double goodPrice; // 商品价格 public String getGoodId() { return goodId; } public String getGoodName() { return goodName; } public String getGoodTaste(){ return goodTaste; } public double getGoodPrice() { return goodPrice; } public void setGoodId(String goodId) { this.goodId = goodId; } public void setGoodName(String goodName) { this.goodName = goodName; } public void setGoodTaste(String goodTaste) { this.goodTaste = goodTaste; } public void setGoodPrice(double goodPrice) { this.goodPrice = goodPrice; } // 空的构造方法,不能少 public GoodInfo() { } public GoodInfo(String goodId, String goodName, String goodTaste, double goodPrice) { this.goodId = goodId; this.goodName = goodName; this.goodTaste = goodTaste; this.goodPrice = goodPrice; } public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (!(obj instanceof GoodInfo)) return false; GoodInfo other = (GoodInfo) obj; if (goodId == null) { if (other.goodId != null) return false; } else if (!goodId.equals(other.goodId)) return false; return true; } }
最近下载更多
a2418735612 LV1
1月4日
xdjxdjxdj LV1
2023年3月27日
蹇金金 LV7
2023年3月15日
你们的代码都是我的了 LV16
2022年12月13日
1379585889 LV11
2022年12月13日
panhhuii LV1
2022年6月28日
CHENHAOJUDA LV10
2022年6月25日
123agfargq LV3
2022年6月14日
miyucats LV1
2022年6月7日
软工小虫 LV1
2022年5月25日
最近浏览更多
zrz666 LV1
4月18日
admin_z LV22
1月29日
taoshen95 LV14
1月4日
a2418735612 LV1
1月4日
zhong1126 LV1
2023年12月29日
asddwh LV12
2023年12月29日
2517958616 LV1
2023年12月26日
qxs110 LV1
2023年12月25日
eqeqleqeqn LV1
2023年12月22日
颜菜菜 LV2
2023年12月19日