VividSeatsListing.java
package org.oxerr.vividseats.client.cached.inventory;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.oxerr.ticket.inventory.support.Listing;
import org.oxerr.vividseats.client.model.inventory.BrokerListing;
public class VividSeatsListing extends Listing<String, BrokerListing> {
private static final long serialVersionUID = 2024101701L;
private Integer vividSeatsEventId;
public VividSeatsListing() {
}
public VividSeatsListing(String id, Integer vividSeatsEventId, BrokerListing request) {
super(id, request);
this.vividSeatsEventId = vividSeatsEventId;
}
public Integer getVividSeatsEventId() {
return vividSeatsEventId;
}
public void setVividSeatsEventId(Integer vividSeatsEventId) {
this.vividSeatsEventId = vividSeatsEventId;
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public boolean equals(Object obj) {
return EqualsBuilder.reflectionEquals(this, obj);
}
}