1.配置java环境
源代码在线查看: shop.java
/**
* @(#)Shop.java
*
* @author soda E-mail:junaisy@163.com
* @version 1.0
* Program Name: FlashNetGame
* Date: 2007-4-18
*/
package org.game.model;
import java.util.Set;
import java.util.HashSet;
public class Shop
{
private int shopId;
private String shopName;
private Set shopGoods = new HashSet();
public Shop()
{
}
public Shop(String shopName )
{
this.shopName=shopName;
}
public void setShopId(int shopId)
{
this.shopId = shopId;
}
public void setShopName(String shopName) {
this.shopName = shopName;
}
public void setShopGoods(Set shopGoods) {
this.shopGoods = shopGoods;
}
public int getShopId() {
return (this.shopId);
}
public String getShopName() {
return (this.shopName);
}
public Set getShopGoods() {
return (this.shopGoods);
}
}