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; } }

一磕小橙子 LV3
2024年6月20日
微信网友_6790966844739584 LV5
2024年6月12日
yuanyuan23 LV1
2024年5月30日
qtingchh LV3
2024年5月3日
a2418735612 LV1
2024年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日

周 敬博 LV2
2月18日
lyd5201314 LV1
2024年12月17日
短巷拥猫 LV12
2024年12月16日
Daima000 LV4
2024年12月3日
1002348101
2024年11月29日
暂无贡献等级
玫瑰王子的共犯
2024年11月2日
暂无贡献等级
曾显示 LV6
2024年7月7日
微信网友_7052938295398400 LV1
2024年6月25日
liyan54188 LV2
2024年6月25日
一磕小橙子 LV3
2024年6月20日