shopcartinfo.java

来自「基于Spring web+Hibernate一个在线书店系统。其中引入了Spri」· Java 代码 · 共 46 行

JAVA
46
字号
/* * Created Sat Jan 21 16:06:37 CST 2006 by MyEclipse Hibernate Tool. */package org.mmxbb.bookstore.model;import java.io.Serializable;/** * A class that represents a row in the 'bookinfo' table.  * This class may be customized as it is never re-generated  * after being created. */public class ShopCartInfo    extends AbstractBookinfo    implements Serializable{   private Integer amount;      public void setAmount(Integer amount){   	this.amount=amount;   	    }      public Integer getAmount(){   return this.amount;	   }	/**     * Simple constructor of Bookinfo instances.     */    public ShopCartInfo()    {    }    /**     * Constructor of Bookinfo instances given a simple primary key.     * @param id     */    public ShopCartInfo(java.lang.Integer id)    {        super(id);    }    /* Add customized code below */}

⌨️ 快捷键说明

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