gleimar 2012-08-07 14:41:09 +00:00
parent fd218ba97d
commit 05281bf3c4
2 changed files with 31 additions and 1 deletions

View File

@ -38,6 +38,8 @@ public class Estado implements Serializable {
private Integer estadoId;
@Column(name = "NOMBESTADO")
private String nombestado;
@Column(name = "CVEBESTADO")
private String cveestado;
@Column(name = "ACTIVO")
private Boolean activo;
@Column(name = "FECMODIF")
@ -124,7 +126,15 @@ public class Estado implements Serializable {
this.equivalenciaId = equivalenciaId;
}
@Override
public String getCveestado() {
return cveestado;
}
public void setCveestado(String cveestado) {
this.cveestado = cveestado;
}
@Override
public int hashCode() {
int hash = 0;
hash += (estadoId != null ? estadoId.hashCode() : 0);

View File

@ -74,6 +74,10 @@ public class Parada implements Serializable {
private List<Tramo> tramoOrigemList;
@OneToMany(mappedBy = "destino")
private List<Tramo> tramoDestinoList;
@Column(name = "CODANTT")
private Integer codantt;
@Column(name = "CODMUNICIPIO")
private Integer codmunicipio;
public Parada() {
}
@ -214,6 +218,22 @@ public class Parada implements Serializable {
this.nodo = nodo;
}
public Integer getCodantt() {
return codantt;
}
public void setCodantt(Integer codantt) {
this.codantt = codantt;
}
public Integer getCodmunicipio() {
return codmunicipio;
}
public void setCodmunicipio(Integer codmunicipio) {
this.codmunicipio = codmunicipio;
}
@Override
public int hashCode() {
int hash = 0;