Subversion Repositories SmartDukaan

Rev

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

Rev 21924 Rev 22009
Line 68... Line 68...
68
	@Override
68
	@Override
69
	public int hashCode() {
69
	public int hashCode() {
70
		final int prime = 31;
70
		final int prime = 31;
71
		int result = 1;
71
		int result = 1;
72
		result = prime * result + brandId;
72
		result = prime * result + brandId;
73
		result = prime * result + id;
-
 
74
		result = prime * result + retailerId;
73
		result = prime * result + retailerId;
75
		return result;
74
		return result;
76
	}
75
	}
77
 
76
 
78
	@Override
77
	@Override
Line 84... Line 83...
84
		if (getClass() != obj.getClass())
83
		if (getClass() != obj.getClass())
85
			return false;
84
			return false;
86
		RetailerBrand other = (RetailerBrand) obj;
85
		RetailerBrand other = (RetailerBrand) obj;
87
		if (brandId != other.brandId)
86
		if (brandId != other.brandId)
88
			return false;
87
			return false;
89
		if (id != other.id)
-
 
90
			return false;
-
 
91
		if (retailerId != other.retailerId)
88
		if (retailerId != other.retailerId)
92
			return false;
89
			return false;
93
		return true;
90
		return true;
94
	}
91
	}
95
 
92