diff --git a/pom.xml b/pom.xml index 732534438..6cd0f5ee8 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 br.com.rjconsultores ModelWeb - 1.91.0 + 1.92.0 diff --git a/src/com/rjconsultores/ventaboletos/entidad/TipoEventoExtra.java b/src/com/rjconsultores/ventaboletos/entidad/TipoEventoExtra.java index 024cfec30..384a86e45 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/TipoEventoExtra.java +++ b/src/com/rjconsultores/ventaboletos/entidad/TipoEventoExtra.java @@ -98,6 +98,8 @@ public class TipoEventoExtra implements Serializable { private String natureza; @Column(name = "CONTACONTABIL") private String contaContabil; + @Column(name="INDQUANTVIASIMPRIMIR") + private Integer indQuantViasImp; @OneToMany(cascade = CascadeType.ALL, mappedBy = "tipoeventoextra") @LazyCollection(LazyCollectionOption.FALSE) private List empresas = new ArrayList(); @@ -355,35 +357,7 @@ public class TipoEventoExtra implements Serializable { public void setIndoperacion(Short indoperacion) { this.indoperacion = indoperacion; } - - @Override - public int hashCode() { - int hash = 0; - hash += (tipoeventoextraId != null ? tipoeventoextraId.hashCode() : 0); - return hash; - } - - @Override - public boolean equals(Object object) { - // TODO: Warning - this method won't work in the case the id fields are - // not set - if (!(object instanceof TipoEventoExtra)) { - return false; - } - TipoEventoExtra other = (TipoEventoExtra) object; - if ((this.tipoeventoextraId == null && other.tipoeventoextraId != null) - || (this.tipoeventoextraId != null && !this.tipoeventoextraId - .equals(other.tipoeventoextraId))) { - return false; - } - return true; - } - - @Override - public String toString() { - return descTipoEvento; - } - + public String getNatureza() { return natureza; } @@ -476,4 +450,41 @@ public class TipoEventoExtra implements Serializable { this.impresionLayoutConfig = impresionLayoutConfig; } + public Integer getIndQuantViasImp() { + return indQuantViasImp; + } + + public void setIndQuantViasImp(Integer indQuantViasImp) { + this.indQuantViasImp = indQuantViasImp; + } + + + @Override + public int hashCode() { + int hash = 0; + hash += (tipoeventoextraId != null ? tipoeventoextraId.hashCode() : 0); + return hash; + } + + @Override + public boolean equals(Object object) { + // TODO: Warning - this method won't work in the case the id fields are + // not set + if (!(object instanceof TipoEventoExtra)) { + return false; + } + TipoEventoExtra other = (TipoEventoExtra) object; + if ((this.tipoeventoextraId == null && other.tipoeventoextraId != null) + || (this.tipoeventoextraId != null && !this.tipoeventoextraId + .equals(other.tipoeventoextraId))) { + return false; + } + return true; + } + + @Override + public String toString() { + return descTipoEvento; + } + }