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); + } }