inventory.java
来自「使用jsp+Servlet,采用MVC模式,实现了一典型小型电子商务网站的全过程」· Java 代码 · 共 41 行
JAVA
41 行
/**
*
*/
package com.eshop.vo;
/**
* 库存信息数据库映射
* @author jonson
*
*/
public class Inventory extends BaseVo {
private String itemid;//商品ID
private long qty;//库存量
/**
* @return the itemid
*/
public String getItemid() {
return itemid;
}
/**
* @param itemid the itemid to set
*/
public void setItemid(String itemid) {
this.itemid = itemid;
}
/**
* @return the qty
*/
public long getQty() {
return qty;
}
/**
* @param qty the qty to set
*/
public void setQty(long qty) {
this.qty = qty;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?