All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.oxerr.viagogo.model.SeatingDetail Maven / Gradle / Ivy

There is a newer version: 6.5.1
Show newest version
package org.oxerr.viagogo.model;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

public class SeatingDetail extends Seating {

	private static final long serialVersionUID = 2023021301L;

	public SeatingDetail() {
	}

	public SeatingDetail(String section, String row, String seatFrom, String seatTo) {
		super(section, row, seatFrom, seatTo);
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		if (obj == this) {
			return true;
		}
		if (obj.getClass() != getClass()) {
			return false;
		}
		SeatingDetail rhs = (SeatingDetail) obj;
		return EqualsBuilder.reflectionEquals(this, rhs);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy