Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30330 tejbeer 1
package com.spice.profitmandi.dao.model;
2
 
3
public class PartnerCommittment {
4
 
5
	private int fofoId;
6
	private int id;
7
 
8
	public PartnerCommittment(int fofoId, int id) {
9
		super();
10
		this.fofoId = fofoId;
11
		this.id = id;
12
	}
13
 
14
	public int getId() {
15
		return id;
16
	}
17
 
18
	public void setId(int id) {
19
		this.id = id;
20
	}
21
 
22
	public int getFofoId() {
23
		return fofoId;
24
	}
25
 
26
	public void setFofoId(int fofoId) {
27
		this.fofoId = fofoId;
28
	}
29
 
30
	@Override
31
	public int hashCode() {
32
		final int prime = 31;
33
		int result = 1;
34
		result = prime * result + fofoId;
35
		result = prime * result + id;
36
		return result;
37
	}
38
 
39
	@Override
40
	public boolean equals(Object obj) {
41
		if (this == obj)
42
			return true;
43
		if (obj == null)
44
			return false;
45
		if (getClass() != obj.getClass())
46
			return false;
47
		PartnerCommittment other = (PartnerCommittment) obj;
48
		if (fofoId != other.fofoId)
49
			return false;
50
		if (id != other.id)
51
			return false;
52
		return true;
53
	}
54
 
55
	@Override
56
	public String toString() {
57
		return "PartnerCommittment [fofoId=" + fofoId + ", id=" + id + "]";
58
	}
59
 
60
}