diff --git a/.classpath b/.classpath
index 41af001b2..03064bfa7 100644
--- a/.classpath
+++ b/.classpath
@@ -61,7 +61,6 @@
-
diff --git a/src/com/rjconsultores/ventaboletos/entidad/Ciudad.java b/src/com/rjconsultores/ventaboletos/entidad/Ciudad.java
index 91f3a846a..d7e349a62 100644
--- a/src/com/rjconsultores/ventaboletos/entidad/Ciudad.java
+++ b/src/com/rjconsultores/ventaboletos/entidad/Ciudad.java
@@ -60,6 +60,8 @@ public class Ciudad implements Serializable {
private Integer zonaHoraria;
@OneToMany(mappedBy = "coloniaId")
private List lsColonia;
+ @Column(name = "CODMUNICIPIO")
+ private Integer codmunicipio;
public Ciudad() {
}
@@ -140,6 +142,13 @@ public class Ciudad implements Serializable {
this.zonaHoraria = zonaHoraria;
}
+ public Integer getCodmunicipio() {
+ return codmunicipio;
+ }
+
+ public void setCodmunicipio(Integer codmunicipio) {
+ this.codmunicipio = codmunicipio;
+ }
@Override
public int hashCode() {
int hash = 0;
diff --git a/src/com/rjconsultores/ventaboletos/entidad/Estado.java b/src/com/rjconsultores/ventaboletos/entidad/Estado.java
index ec80cc2d7..995a2a542 100644
--- a/src/com/rjconsultores/ventaboletos/entidad/Estado.java
+++ b/src/com/rjconsultores/ventaboletos/entidad/Estado.java
@@ -38,7 +38,7 @@ public class Estado implements Serializable {
private Integer estadoId;
@Column(name = "NOMBESTADO")
private String nombestado;
- @Column(name = "CVEBESTADO")
+ @Column(name = "CVEESTADO")
private String cveestado;
@Column(name = "ACTIVO")
private Boolean activo;
diff --git a/src/com/rjconsultores/ventaboletos/entidad/Parada.java b/src/com/rjconsultores/ventaboletos/entidad/Parada.java
index 32036cfa5..432705c0e 100644
--- a/src/com/rjconsultores/ventaboletos/entidad/Parada.java
+++ b/src/com/rjconsultores/ventaboletos/entidad/Parada.java
@@ -76,8 +76,7 @@ public class Parada implements Serializable {
private List tramoDestinoList;
@Column(name = "CODANTT")
private Integer codantt;
- @Column(name = "CODMUNICIPIO")
- private Integer codmunicipio;
+
public Parada() {
}
@@ -226,14 +225,6 @@ public class Parada implements Serializable {
this.codantt = codantt;
}
- public Integer getCodmunicipio() {
- return codmunicipio;
- }
-
- public void setCodmunicipio(Integer codmunicipio) {
- this.codmunicipio = codmunicipio;
- }
-
@Override
public int hashCode() {
int hash = 0;