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

📄 shopgoods.java

📁 声色幻想webgame 多人联网webgame-javaRPG游戏 实现 买东西 仓库 聊天 打怪 交易 功能! 1.配置java环境
💻 JAVA
字号:
/**
 * @(#)ShopGoods.java
 * 
 * @author soda E-mail:junaisy@163.com
 * @version 1.0
 * <br>Program Name: FlashNetGame
 * <br>Date: 2007-4-18
 */
package org.game.model;
public class ShopGoods{
	private int shopGoodsId;
	private int shopGoodsPrice;
	private int goodsAmount;
	private Goods goods;
	private Shop shop;
	
	public ShopGoods()
	{
	}


	public ShopGoods(int shopGoodsId, int shopGoodsPrice, 
				int goodsAmount) {
		this.shopGoodsId = shopGoodsId;
		this.shopGoodsPrice = shopGoodsPrice;
		this.goodsAmount = goodsAmount;
	}
	
	public void setShopGoodsId(int shopGoodsId) {
		this.shopGoodsId = shopGoodsId; 
	}

	public void setShop(Shop shop) {
		this.shop = shop; 
	}

	public void setShopGoodsPrice(int shopGoodsPrice) {
		this.shopGoodsPrice = shopGoodsPrice; 
	}

	public void setGoodsAmount(int goodsAmount) {
		this.goodsAmount = goodsAmount; 
	}

	public void setGoods(Goods goods) {
		this.goods = goods; 
	}

	public int getShopGoodsId() {
		return (this.shopGoodsId); 
	}

	public Shop getShop() {
		return (this.shop); 
	}

	public int getShopGoodsPrice() {
		return (this.shopGoodsPrice); 
	}

	public int getGoodsAmount() {
		return (this.goodsAmount); 
	}

	public Goods getGoods() {
		return (this.goods); 
	}
}

⌨️ 快捷键说明

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