Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30051 manish 1
package com.spice.profitmandi.dao.model;
2
 
3
public class AllPurchaseInventoryModel {
4
 
5
	private long amount;
6
 
7
	public long getAmount() {
8
		return amount;
9
	}
10
 
11
	public void setAmount(long amount) {
12
		this.amount = amount;
13
	}
14
 
15
	public AllPurchaseInventoryModel(long amount) {
16
		super();
17
		this.amount = amount;
18
	}
19
 
20
 
21
 
22
	@Override
23
	public String toString() {
24
		return "AllPurchaseInventoryModel [amount=" + amount + "]";
25
	}
26
 
27
	@Override
28
	public int hashCode() {
29
		final int prime = 31;
30
		int result = 1;
31
		result = prime * result + (int) (amount ^ (amount >>> 32));
32
		return result;
33
	}
34
 
35
	@Override
36
	public boolean equals(Object obj) {
37
		if (this == obj)
38
			return true;
39
		if (obj == null)
40
			return false;
41
		if (getClass() != obj.getClass())
42
			return false;
43
		AllPurchaseInventoryModel other = (AllPurchaseInventoryModel) obj;
44
		if (amount != other.amount)
45
			return false;
46
		return true;
47
	}
48
 
49
 
50
 
51
}