Subversion Repositories SmartDukaan

Rev

Rev 8708 | 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;
9640 amar.kumar 14
	long ebayHeld;
15
	long snapdealHeld;
16
	long flipkartHeld;
17
 
4431 phani.kuma 18
 
19
    public ItemInventory() {
20
 
21
    }
22
 
9640 amar.kumar 23
    public ItemInventory(long warehouseId, long availability, long reserved, long held, 
24
    		long ebayHeld, long snapdealHeld, long flipkartHeld) {
4431 phani.kuma 25
        this.warehouseId = warehouseId;
26
        this.availability = availability;
27
        this.reserved = reserved;
8708 amar.kumar 28
        this.held = held;
9640 amar.kumar 29
        this.ebayHeld = ebayHeld;
30
        this.snapdealHeld = snapdealHeld;
31
        this.flipkartHeld = flipkartHeld;
4431 phani.kuma 32
    }
33
 
34
    /**
35
	 * @param warehouseId the warehouseId to set
36
	 */
37
	public void setWarehouseId(long warehouseId) {
38
		this.warehouseId = warehouseId;
39
	}
40
 
41
	/**
42
	 * @return the warehouseId
43
	 */
44
	public long getWarehouseId() {
45
		return warehouseId;
46
	}
47
 
48
	/**
49
	 * @param availability the availability to set
50
	 */
51
	public void setAvailability(long availability) {
52
		this.availability = availability;
53
	}
54
 
55
	/**
56
	 * @return the availability
57
	 */
58
	public long getAvailability() {
59
		return availability;
60
	}
61
 
62
	/**
63
	 * @param reserved the reserved to set
64
	 */
65
	public void setReserved(long reserved) {
66
		this.reserved = reserved;
67
	}
68
 
69
	/**
70
	 * @return the reserved
71
	 */
72
	public long getReserved() {
73
		return reserved;
74
	}
8708 amar.kumar 75
 
76
	public long getHeld() {
77
		return held;
78
	}
79
 
80
	public void setHeld(long held) {
81
		this.held = held;
82
	}
9640 amar.kumar 83
 
84
	public long getEbayHeld() {
85
		return ebayHeld;
86
	}
87
 
88
	public void setEbayHeld(long ebayHeld) {
89
		this.ebayHeld = ebayHeld;
90
	}
91
 
92
	public long getSnapdealHeld() {
93
		return snapdealHeld;
94
	}
95
 
96
	public void setSnapdealHeld(long snapdealHeld) {
97
		this.snapdealHeld = snapdealHeld;
98
	}
99
 
100
	public long getFlipkartHeld() {
101
		return flipkartHeld;
102
	}
103
 
104
	public void setFlipkartHeld(long flipkartHeld) {
105
		this.flipkartHeld = flipkartHeld;
106
	}
8708 amar.kumar 107
 
4431 phani.kuma 108
}