Subversion Repositories SmartDukaan

Rev

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

Rev 24100 Rev 29500
Line 32... Line 32...
32
	private String name;
32
	private String name;
33
	
33
	
34
	@Column(name = "email")
34
	@Column(name = "email")
35
	private String emailId;
35
	private String emailId;
36
	
36
	
-
 
37
	@Column(name = "mobile_number")
-
 
38
	private String mobileNumber;
-
 
39
	
37
	@Column(name = "default_address_id")
40
	@Column(name = "default_address_id")
38
	private Integer addressId;
41
	private Integer addressId;
39
	
42
	
40
	@Column(name = "active_cart_id")
43
	@Column(name = "active_cart_id")
41
	private int activeCartId;
44
	private int activeCartId;
Line 123... Line 126...
123
		final int prime = 31;
126
		final int prime = 31;
124
		int result = 1;
127
		int result = 1;
125
		result = prime * result + id;
128
		result = prime * result + id;
126
		return result;
129
		return result;
127
	}
130
	}
-
 
131
	
-
 
132
	
-
 
133
 
-
 
134
	public String getMobileNumber() {
-
 
135
		return mobileNumber;
-
 
136
	}
-
 
137
 
-
 
138
	public void setMobileNumber(String mobileNumber) {
-
 
139
		this.mobileNumber = mobileNumber;
-
 
140
	}
128
 
141
 
129
	@Override
142
	@Override
130
	public boolean equals(Object obj) {
143
	public boolean equals(Object obj) {
131
		if (this == obj)
144
		if (this == obj)
132
			return true;
145
			return true;
Line 140... Line 153...
140
		return true;
153
		return true;
141
	}
154
	}
142
 
155
 
143
	@Override
156
	@Override
144
	public String toString() {
157
	public String toString() {
145
		return "User [id=" + id + ", name=" + name + ", emailId=" + emailId + ", addressId=" + addressId
158
		return "User [id=" + id + ", name=" + name + ", emailId=" + emailId + ", mobileNumber=" + mobileNumber
-
 
159
				+ ", addressId=" + addressId + ", activeCartId=" + activeCartId + ", password=" + password
146
				+ ", activeCartId=" + activeCartId + ", createTimestamp=" + createTimestamp + ", location=" + location
160
				+ ", createTimestamp=" + createTimestamp + ", location=" + location + "]";
147
				+ "]";
-
 
148
	}
161
	}
149
	
162
	
150
 
163
 
151
}
164
}