@Override
	public boolean equals(final Object o) {
		if (this == o) {
			return true;
		}
		if (o == null) {
			return false;
		}
		if (!(o instanceof Payment)) {
			return false;
		}
		Payment castedObj = (Payment) o;
		return ((this.getId() == castedObj.getId()) && (this.getLabel() == null ? castedObj.getLabel() == null : this.getLabel().equals(castedObj.getLabel()))
				&& (this.getDate() == null ? castedObj.getDate() == null : this.getDate().equals(castedObj.getDate())) && (this.getValue() == null ? castedObj
				.getValue() == null : this.getValue().equals(castedObj.getValue())));
	}