package com.ifish.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 店铺管理
 * @author Administrator
 *
 */
@Entity
@Table(name="tbl_ifish_shop")
public class IfishShop implements Serializable{

	private static final long serialVersionUID = 7045978553607756344L;
	/**
	 * 店铺ID
	 */
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="shop_id")
	private Integer shopId;
	/**
	 * 店铺名称
	 */
	@Column(name="shop_name",nullable=false,length=20)
	private String shopName;
	
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	
}
