TicketType.java
package org.oxerr.viagogo.model.response.inventory;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.oxerr.viagogo.model.response.Resource;
@io.openapitools.jackson.dataformat.hal.annotation.Resource
public class TicketType extends Resource {
private static final long serialVersionUID = 2023021301L;
private String type;
private String name;
private Integer id;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof TicketType)) {
return false;
}
TicketType rhs = (TicketType) obj;
return EqualsBuilder.reflectionEquals(this, rhs);
}
}