1 package org.oxerr.viagogo.model.response.inventory; 2 3 import java.io.Serializable; 4 import java.util.List; 5 6 import org.apache.commons.lang3.builder.EqualsBuilder; 7 import org.apache.commons.lang3.builder.HashCodeBuilder; 8 9 public class Section implements Serializable { 10 11 private static final long serialVersionUID = 2023021301L; 12 13 private String name; 14 15 private Boolean freeTextRow; 16 17 private Boolean queueNumberRow; 18 19 private List<String> rows; 20 21 public String getName() { 22 return name; 23 } 24 25 public void setName(String name) { 26 this.name = name; 27 } 28 29 public Boolean getFreeTextRow() { 30 return freeTextRow; 31 } 32 33 public void setFreeTextRow(Boolean freeTextRow) { 34 this.freeTextRow = freeTextRow; 35 } 36 37 public Boolean getQueueNumberRow() { 38 return queueNumberRow; 39 } 40 41 public void setQueueNumberRow(Boolean queueNumberRow) { 42 this.queueNumberRow = queueNumberRow; 43 } 44 45 public List<String> getRows() { 46 return rows; 47 } 48 49 public void setRows(List<String> rows) { 50 this.rows = rows; 51 } 52 53 @Override 54 public int hashCode() { 55 return HashCodeBuilder.reflectionHashCode(this); 56 } 57 58 @Override 59 public boolean equals(Object obj) { 60 if (this == obj) { 61 return true; 62 } 63 if (!(obj instanceof Section)) { 64 return false; 65 } 66 Section rhs = (Section) obj; 67 return EqualsBuilder.reflectionEquals(this, rhs); 68 } 69 70 }