diff --git a/pom.xml b/pom.xml
index 09e2599e4..69570683a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
br.com.rjconsultores
ModelWeb
- 1.98.1
+ 1.99.0
diff --git a/src/com/rjconsultores/ventaboletos/entidad/ConexionRutaConf.java b/src/com/rjconsultores/ventaboletos/entidad/ConexionRutaConf.java
index 93198927b..a28146a72 100644
--- a/src/com/rjconsultores/ventaboletos/entidad/ConexionRutaConf.java
+++ b/src/com/rjconsultores/ventaboletos/entidad/ConexionRutaConf.java
@@ -46,6 +46,21 @@ public class ConexionRutaConf implements Serializable {
@Column(name = "DESCUENTO")
private BigDecimal descuento;
+ @Column(name = "ISBLOQUEIOTRECHO_A")
+ private Boolean isBloqueioTrechoA;
+
+ @Column(name = "ISBLOQUEIOTRECHO_B")
+ private Boolean isBloqueioTrechoB;
+
+ @Column(name = "ISBLOQUEIOTRECHO_C")
+ private Boolean isBloqueioTrechoC;
+
+ @Column(name = "PORCENTAGEM_OCUPACAO")
+ private Integer porcentagemOcupacao;
+
+ @Column(name = "MINUTOS_ANTES_PARTIDA")
+ private Integer minutosAntesPartida;
+
public ConexionRutaConf() {
super();
}
@@ -144,4 +159,44 @@ public class ConexionRutaConf implements Serializable {
public void setDescuento(BigDecimal descuento) {
this.descuento = descuento;
}
+
+ public Boolean getIsBloqueioTrechoA() {
+ return isBloqueioTrechoA == null ? false: isBloqueioTrechoA;
+ }
+
+ public void setIsBloqueioTrechoA(Boolean isBloqueioTrechoA) {
+ this.isBloqueioTrechoA = isBloqueioTrechoA;
+ }
+
+ public Boolean getIsBloqueioTrechoB() {
+ return isBloqueioTrechoB == null ? false: isBloqueioTrechoB;
+ }
+
+ public void setIsBloqueioTrechoB(Boolean isBloqueioTrechoB) {
+ this.isBloqueioTrechoB = isBloqueioTrechoB;
+ }
+
+ public Boolean getIsBloqueioTrechoC() {
+ return isBloqueioTrechoC == null ? false: isBloqueioTrechoC;
+ }
+
+ public void setIsBloqueioTrechoC(Boolean isBloqueioTrechoC) {
+ this.isBloqueioTrechoC = isBloqueioTrechoC;
+ }
+
+ public Integer getPorcentagemOcupacao() {
+ return porcentagemOcupacao;
+ }
+
+ public void setPorcentagemOcupacao(Integer porcentagemOcupacao) {
+ this.porcentagemOcupacao = porcentagemOcupacao;
+ }
+
+ public Integer getMinutosAntesPartida() {
+ return minutosAntesPartida;
+ }
+
+ public void setMinutosAntesPartida(Integer minutosAntesPartida) {
+ this.minutosAntesPartida = minutosAntesPartida;
+ }
}
diff --git a/src/com/rjconsultores/ventaboletos/utilerias/CustomEnum.java b/src/com/rjconsultores/ventaboletos/utilerias/CustomEnum.java
index 03dbe8bdd..f5b92e98c 100644
--- a/src/com/rjconsultores/ventaboletos/utilerias/CustomEnum.java
+++ b/src/com/rjconsultores/ventaboletos/utilerias/CustomEnum.java
@@ -157,7 +157,14 @@ public enum CustomEnum {
VALIDA_ESTOQUE_SIMPLIFICADO("MODCLI_ValidaEstoqueSimplificado"),
- IS_VENDA_SAFTAO("isVendaSaftao");
+ IS_VENDA_SAFTAO("isVendaSaftao"),
+
+ /**
+ * Ativa o Bloqueio de trecho por conexao.
+ *
+ * @return
+ */
+ USA_BLOQUEIO_TRECHO_CONEXAO("usaBloqueioTrechoConexao");
private String descricao;