Subversion Repositories SmartDukaan

Rev

Rev 8708 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4431 phani.kuma 1
package in.shop2020.catalog.dashboard.shared;
2
 
3
import java.io.Serializable;
4
 
5
import com.google.gwt.user.client.rpc.IsSerializable;
6
 
7
@SuppressWarnings("serial")
8
public class ItemInventory implements IsSerializable, Serializable {
9
 
10
	long warehouseId;
11
	long availability;
12
	long reserved;
13
 
14
    public ItemInventory() {
15
 
16
    }
17
 
18
    public ItemInventory(long warehouseId, long availability, long reserved) {
19
        this.warehouseId = warehouseId;
20
        this.availability = availability;
21
        this.reserved = reserved;
22
    }
23
 
24
    /**
25
	 * @param warehouseId the warehouseId to set
26
	 */
27
	public void setWarehouseId(long warehouseId) {
28
		this.warehouseId = warehouseId;
29
	}
30
 
31
	/**
32
	 * @return the warehouseId
33
	 */
34
	public long getWarehouseId() {
35
		return warehouseId;
36
	}
37
 
38
	/**
39
	 * @param availability the availability to set
40
	 */
41
	public void setAvailability(long availability) {
42
		this.availability = availability;
43
	}
44
 
45
	/**
46
	 * @return the availability
47
	 */
48
	public long getAvailability() {
49
		return availability;
50
	}
51
 
52
	/**
53
	 * @param reserved the reserved to set
54
	 */
55
	public void setReserved(long reserved) {
56
		this.reserved = reserved;
57
	}
58
 
59
	/**
60
	 * @return the reserved
61
	 */
62
	public long getReserved() {
63
		return reserved;
64
	}
65
}