From 5c908d09d1f90bfa34106742c4589b68d80db1f7 Mon Sep 17 00:00:00 2001 From: thiago Date: Tue, 4 Feb 2020 17:39:16 +0000 Subject: [PATCH] fixes bug#16003 dev:Wilian qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@100029 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../entidad/CategoriaDescuento.java | 52 ++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) diff --git a/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java b/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java index b223f6d0c..41da12415 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java +++ b/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java @@ -157,14 +157,28 @@ public class CategoriaDescuento implements Serializable { @Column(name = "INDNAOAPLICATARIFAMINIMA") private Boolean indnaoaplicatarifaminima; + @Column(name = "INDTIPOOCUPACAO") private boolean indtipoocupacao; - + @Column(name = "INDEMITESOMENTECUPOMEMBARQUE") private Boolean indEmiteSomenteCupomEmbarque; @Column(name = "QTDE_VIAS_CUPOM_EMBARQUE") private Integer qtdeViasCupomEmbarque; + + @Column(name = "INDVENDAANTECIPADAPORKM") + private Boolean indVendaAntecipadaPorKM; + + @Column(name = "KMVENDAANTECIPADA") + private Integer kmVendaAntecipada; + + @Column(name = "TEMPOLIBERACAOATEKM") + private Date tempoLiberacaoAteKM; + + @Column(name = "TEMPOLIBERACAODEPOISKM") + private Date tempoLiberacaoDepoisKM; + public enum DisponibilidadeFeriado { // Declaração dos enum @@ -740,5 +754,41 @@ public class CategoriaDescuento implements Serializable { public void setQtdeViasCupomEmbarque(Integer qtdeViasCupomEmbarque) { this.qtdeViasCupomEmbarque = qtdeViasCupomEmbarque; } + + public Boolean isIndVendaAntecipadaPorKM() { + return indVendaAntecipadaPorKM; + } + + public void setIndVendaAntecipadaPorKM(Boolean indVendaAntecipadaPorKM) { + this.indVendaAntecipadaPorKM = indVendaAntecipadaPorKM; + } + + public Integer getKmVendaAntecipada() { + return kmVendaAntecipada; + } + + public void setKmVendaAntecipada(Integer kmVendaAntecipada) { + this.kmVendaAntecipada = kmVendaAntecipada; + } + + public Date getTempoLiberacaoAteKM() { + return tempoLiberacaoAteKM; + } + + public void setTempoLiberacaoAteKM(Date tempoLiberacaoAteKM) { + this.tempoLiberacaoAteKM = tempoLiberacaoAteKM; + } + + public Date getTempoLiberacaoDepoisKM() { + return tempoLiberacaoDepoisKM; + } + + public void setTempoLiberacaoDepoisKM(Date tempoLiberacaoDepoisKM) { + this.tempoLiberacaoDepoisKM = tempoLiberacaoDepoisKM; + } + + public Boolean getIndVendaAntecipadaPorKM() { + return BooleanUtils.toBoolean(indVendaAntecipadaPorKM); + } }