Subversion Repositories SmartDukaan

Rev

Rev 27539 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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