Subversion Repositories SmartDukaan

Rev

Rev 27529 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27529 Rev 27539
Line 11... Line 11...
11
		this.warehouseId = warehouseId;
11
		this.warehouseId = warehouseId;
12
		this.stockQty = stockQty;
12
		this.stockQty = stockQty;
13
		this.stockValue = stockValue;
13
		this.stockValue = stockValue;
14
		this.pendingIndent = pendingIndent;
14
		this.pendingIndent = pendingIndent;
15
	}
15
	}
-
 
16
 
-
 
17
	public WarehouseWiseStockModel() {
-
 
18
		super();
-
 
19
		// TODO Auto-generated constructor stub
-
 
20
	}
-
 
21
 
16
	@Override
22
	@Override
17
	public String toString() {
23
	public String toString() {
18
		return "WarehouseWiseStockModel [warehouseId=" + warehouseId + ", stockQty=" + stockQty + ", stockValue="
24
		return "WarehouseWiseStockModel [warehouseId=" + warehouseId + ", stockQty=" + stockQty + ", stockValue="
19
				+ stockValue + ", pendingIndent=" + pendingIndent + "]";
25
				+ stockValue + ", pendingIndent=" + pendingIndent + "]";
20
	}
26
	}
-
 
27
 
21
	@Override
28
	@Override
22
	public int hashCode() {
29
	public int hashCode() {
23
		final int prime = 31;
30
		final int prime = 31;
24
		int result = 1;
31
		int result = 1;
25
		result = prime * result + (int) (pendingIndent ^ (pendingIndent >>> 32));
32
		result = prime * result + (int) (pendingIndent ^ (pendingIndent >>> 32));
26
		result = prime * result + (int) (stockQty ^ (stockQty >>> 32));
33
		result = prime * result + (int) (stockQty ^ (stockQty >>> 32));
27
		result = prime * result + (int) (stockValue ^ (stockValue >>> 32));
34
		result = prime * result + (int) (stockValue ^ (stockValue >>> 32));
28
		result = prime * result + warehouseId;
35
		result = prime * result + warehouseId;
29
		return result;
36
		return result;
30
	}
37
	}
-
 
38
 
31
	@Override
39
	@Override
32
	public boolean equals(Object obj) {
40
	public boolean equals(Object obj) {
33
		if (this == obj)
41
		if (this == obj)
34
			return true;
42
			return true;
35
		if (obj == null)
43
		if (obj == null)
Line 45... Line 53...
45
			return false;
53
			return false;
46
		if (warehouseId != other.warehouseId)
54
		if (warehouseId != other.warehouseId)
47
			return false;
55
			return false;
48
		return true;
56
		return true;
49
	}
57
	}
-
 
58
 
50
	public int getWarehouseId() {
59
	public int getWarehouseId() {
51
		return warehouseId;
60
		return warehouseId;
52
	}
61
	}
-
 
62
 
53
	public void setWarehouseId(int warehouseId) {
63
	public void setWarehouseId(int warehouseId) {
54
		this.warehouseId = warehouseId;
64
		this.warehouseId = warehouseId;
55
	}
65
	}
-
 
66
 
56
	public long getStockQty() {
67
	public long getStockQty() {
57
		return stockQty;
68
		return stockQty;
58
	}
69
	}
-
 
70
 
59
	public void setStockQty(long stockQty) {
71
	public void setStockQty(long stockQty) {
60
		this.stockQty = stockQty;
72
		this.stockQty = stockQty;
61
	}
73
	}
-
 
74
 
62
	public long getStockValue() {
75
	public long getStockValue() {
63
		return stockValue;
76
		return stockValue;
64
	}
77
	}
-
 
78
 
65
	public void setStockValue(long stockValue) {
79
	public void setStockValue(long stockValue) {
66
		this.stockValue = stockValue;
80
		this.stockValue = stockValue;
67
	}
81
	}
-
 
82
 
68
	public long getPendingIndent() {
83
	public long getPendingIndent() {
69
		return pendingIndent;
84
		return pendingIndent;
70
	}
85
	}
-
 
86
 
71
	public void setPendingIndent(long pendingIndent) {
87
	public void setPendingIndent(long pendingIndent) {
72
		this.pendingIndent = pendingIndent;
88
		this.pendingIndent = pendingIndent;
73
	}
89
	}
74
 
90
 
75
	
-
 
76
 
-
 
77
}
91
}