01: package com.odal.petstore.domain;
02:
03: import com.odal.petstore.persistence.gen.bean.ItemPoBean;
04:
05: /**
06: * @author Gennady Krizhevsky
07: */
08: public class Item extends ItemPoBean {
09:
10: private long quantity;
11:
12: public Item() {
13: }
14:
15: public Item(String itemId) {
16: super (itemId);
17: }
18:
19: public long getQuantity() {
20: return quantity;
21: }
22:
23: public void setQuantity(long quantity) {
24: this.quantity = quantity;
25: }
26:
27: }
|