View Javadoc
1   package org.oxerr.viagogo.model.request.inventory;
2   
3   import java.io.Serializable;
4   
5   import org.apache.commons.lang3.builder.EqualsBuilder;
6   import org.apache.commons.lang3.builder.HashCodeBuilder;
7   
8   public class VenueRequest implements Serializable {
9   
10  	private static final long serialVersionUID = 2023021301L;
11  
12  	/**
13  	 * The name of the venue.
14  	 */
15  	private String name;
16  
17  	/**
18  	 * The name of the city where the venue is located.
19  	 */
20  	private String city;
21  
22  	/**
23  	 * The name of the State or Province where the venue is located.
24  	 */
25  	private String stateProvince;
26  
27  	public VenueRequest() {
28  	}
29  
30  	public VenueRequest(String name, String city) {
31  		this.name = name;
32  		this.city = city;
33  	}
34  
35  	public String getName() {
36  		return name;
37  	}
38  
39  	public void setName(String name) {
40  		this.name = name;
41  	}
42  
43  	public String getCity() {
44  		return city;
45  	}
46  
47  	public void setCity(String city) {
48  		this.city = city;
49  	}
50  
51  	public String getStateProvince() {
52  		return stateProvince;
53  	}
54  
55  	public void setStateProvince(String stateProvince) {
56  		this.stateProvince = stateProvince;
57  	}
58  
59  	@Override
60  	public int hashCode() {
61  		return HashCodeBuilder.reflectionHashCode(this);
62  	}
63  
64  	@Override
65  	public boolean equals(Object obj) {
66  		if (this == obj) {
67  			return true;
68  		}
69  		if (!(obj instanceof VenueRequest)) {
70  			return false;
71  		}
72  		VenueRequest rhs = (VenueRequest) obj;
73  		return EqualsBuilder.reflectionEquals(this, rhs);
74  	}
75  
76  }