fixes bug#AL-4214
parent
6ef6f7daa2
commit
5f87be4994
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ModelWeb</artifactId>
|
||||
<version>1.91.0</version>
|
||||
<version>1.92.0</version>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
|
|
|
@ -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<TipoEventoExtraEmpresa> empresas = new ArrayList<TipoEventoExtraEmpresa>();
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue