Subversion Repositories SmartDukaan

Rev

Rev 4431 | Rev 9640 | Go to most recent revision | Details | Compare with Previous | 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;
8708 amar.kumar 13
	long held;
4431 phani.kuma 14
 
15
    public ItemInventory() {
16
 
17
    }
18
 
8708 amar.kumar 19
    public ItemInventory(long warehouseId, long availability, long reserved, long held) {
4431 phani.kuma 20
        this.warehouseId = warehouseId;
21
        this.availability = availability;
22
        this.reserved = reserved;
8708 amar.kumar 23
        this.held = held;
4431 phani.kuma 24
    }
25
 
26
    /**
27
	 * @param warehouseId the warehouseId to set
28
	 */
29
	public void setWarehouseId(long warehouseId) {
30
		this.warehouseId = warehouseId;
31
	}
32
 
33
	/**
34
	 * @return the warehouseId
35
	 */
36
	public long getWarehouseId() {
37
		return warehouseId;
38
	}
39
 
40
	/**
41
	 * @param availability the availability to set
42
	 */
43
	public void setAvailability(long availability) {
44
		this.availability = availability;
45
	}
46
 
47
	/**
48
	 * @return the availability
49
	 */
50
	public long getAvailability() {
51
		return availability;
52
	}
53
 
54
	/**
55
	 * @param reserved the reserved to set
56
	 */
57
	public void setReserved(long reserved) {
58
		this.reserved = reserved;
59
	}
60
 
61
	/**
62
	 * @return the reserved
63
	 */
64
	public long getReserved() {
65
		return reserved;
66
	}
8708 amar.kumar 67
 
68
	public long getHeld() {
69
		return held;
70
	}
71
 
72
	public void setHeld(long held) {
73
		this.held = held;
74
	}
75
 
76
 
4431 phani.kuma 77
}