Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21561 ashik.ali 1
package com.spice.profitmandi.web.model;
2
 
3
public class FofoDetails {
4
	private int fofoId;
5
	private String emailId;
6
	public int getFofoId() {
7
		return fofoId;
8
	}
9
	public void setFofoId(int fofoId) {
10
		this.fofoId = fofoId;
11
	}
12
	public String getEmailId() {
13
		return emailId;
14
	}
15
	public void setEmailId(String emailId) {
16
		this.emailId = emailId;
17
	}
21925 ashik.ali 18
	@Override
19
	public int hashCode() {
20
		final int prime = 31;
21
		int result = 1;
22
		result = prime * result + ((emailId == null) ? 0 : emailId.hashCode());
23
		result = prime * result + fofoId;
24
		return result;
25
	}
26
	@Override
27
	public boolean equals(Object obj) {
28
		if (this == obj)
29
			return true;
30
		if (obj == null)
31
			return false;
32
		if (getClass() != obj.getClass())
33
			return false;
34
		FofoDetails other = (FofoDetails) obj;
35
		if (emailId == null) {
36
			if (other.emailId != null)
37
				return false;
38
		} else if (!emailId.equals(other.emailId))
39
			return false;
40
		if (fofoId != other.fofoId)
41
			return false;
42
		return true;
43
	}
44
	@Override
45
	public String toString() {
46
		return "FofoDetails [fofoId=" + fofoId + ", emailId=" + emailId + "]";
47
	}
48
 
49
 
21561 ashik.ali 50
}