@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (!(o instanceof User)) return false;

		User user = (User) o;

		if (id != user.id) return false;
		if (!email.equals(user.email)) return false;
		if (!name.equals(user.name)) return false;
		if (!password.equals(user.password)) return false;
		if (!surname.equals(user.surname)) return false;

		return true;
	}