diff --git a/src/com/rjconsultores/ventaboletos/entidad/Empresa.java b/src/com/rjconsultores/ventaboletos/entidad/Empresa.java index 2602bc5dd..00b215553 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Empresa.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Empresa.java @@ -341,9 +341,6 @@ public class Empresa implements Serializable, Auditavel { @Column(name = "INDENVIADADOSAGENCIABPE") private Boolean indEnviaDadosAgenciaBpe; - @Column(name = "INDPRECOPORDEMANDA") - private Boolean indPrecoPorDemanda; - @Column(name = "INDRATEIOCOMISSAOGRUPOLINHA") private Boolean indRateioComissaoGrupoLinha; @@ -1297,13 +1294,6 @@ public class Empresa implements Serializable, Auditavel { this.indEnviaDadosAgenciaBpe = indEnviaDadosAgenciaBpe; } - public Boolean getIndPrecoPorDemanda() { - return indPrecoPorDemanda == null ? false : indPrecoPorDemanda; - } - - public void setIndPrecoPorDemanda(Boolean indPrecoPorDemanda) { - this.indPrecoPorDemanda = indPrecoPorDemanda; - } public Boolean getIndRateioComissaoGrupoLinha() { return indRateioComissaoGrupoLinha == null ? false : indRateioComissaoGrupoLinha; diff --git a/src/com/rjconsultores/ventaboletos/entidad/Ruta.java b/src/com/rjconsultores/ventaboletos/entidad/Ruta.java index 783505d70..42aa36f41 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Ruta.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Ruta.java @@ -137,15 +137,6 @@ public class Ruta implements Serializable, Comparable, Auditavel { @Column(name = "INDVENDAEMBARCADA") private Boolean indVendaEmbarcada; - @Column(name = "INDPRECIOPORDEMANDA") - private Boolean indPrecioPorDemanda; - - @Column(name = "FECINIPRECIODEMANDA") - private Date fecInicioPrecioDemanda; - - @Column(name = "FECFIMPRECIODEMANDA") - private Date fecFimPrecioDemanda; - @OneToMany(mappedBy = "ruta", cascade = CascadeType.ALL) private List lsRutaEmbarqueDesembarque; @@ -211,9 +202,7 @@ public class Ruta implements Serializable, Comparable, Auditavel { ruta.indTribTaxaEmbarque = other.indTribTaxaEmbarque; ruta.indVentaRioCard = other.indVentaRioCard; ruta.indRutaInternacional = other.indRutaInternacional; - ruta.indPrecioPorDemanda = other.indPrecioPorDemanda; - ruta.fecInicioPrecioDemanda = other.fecInicioPrecioDemanda; - ruta.fecFimPrecioDemanda = other.fecFimPrecioDemanda; + /******* ruta.lsRutaEmpresa *************/ if (ruta.lsRutaEmpresa == null) { @@ -640,30 +629,6 @@ public class Ruta implements Serializable, Comparable, Auditavel { public String getTextoInclusaoExclusao() { return String.format("ID [%s]", getRutaId()); } - - public Boolean getIndPrecioPorDemanda() { - return indPrecioPorDemanda; - } - - public void setIndPrecioPorDemanda(Boolean indPrecioPorDemanda) { - this.indPrecioPorDemanda = indPrecioPorDemanda; - } - - public Date getFecInicioPrecioDemanda() { - return fecInicioPrecioDemanda; - } - - public void setFecInicioPrecioDemanda(Date fecInicioPrecioDemanda) { - this.fecInicioPrecioDemanda = fecInicioPrecioDemanda; - } - - public Date getFecFimPrecioDemanda() { - return fecFimPrecioDemanda; - } - - public void setFecFimPrecioDemanda(Date fecFimPrecioDemanda) { - this.fecFimPrecioDemanda = fecFimPrecioDemanda; - } public String getDescSentido() { return this.getIndSentidoIda() == null || Boolean.TRUE.equals(this.getIndSentidoIda()) ? "IDA" : "VOLTA";