diff --git a/src/com/rjconsultores/ventaboletos/entidad/Empresa.java b/src/com/rjconsultores/ventaboletos/entidad/Empresa.java index 2aa3a6add..2b1fc19d5 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Empresa.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Empresa.java @@ -337,6 +337,9 @@ public class Empresa implements Serializable { @Enumerated(EnumType.STRING) @Column(name = "CST_GRATUIDADE") private TipoCstGratuidade cstGratuidade; + + @Column(name = "INDSEGUNDAVIAFECHAMENTOCAIXA") + private Boolean indSegundaViaFechamentoCaixa; public Empresa() { super(); @@ -1255,4 +1258,12 @@ public class Empresa implements Serializable { public void setCstGratuidade(TipoCstGratuidade cstGratuidade) { this.cstGratuidade = cstGratuidade; } + + public Boolean getIndSegundaViaFechamentoCaixa() { + return indSegundaViaFechamentoCaixa ==null ? Boolean.FALSE : indSegundaViaFechamentoCaixa; + } + + public void setIndSegundaViaFechamentoCaixa(Boolean indSegundaViaFechamentoCaixa) { + this.indSegundaViaFechamentoCaixa = indSegundaViaFechamentoCaixa; + } } diff --git a/src/com/rjconsultores/ventaboletos/vo/embarcada/EmpresaVO.java b/src/com/rjconsultores/ventaboletos/vo/embarcada/EmpresaVO.java index 5b3be85bc..733828dbc 100644 --- a/src/com/rjconsultores/ventaboletos/vo/embarcada/EmpresaVO.java +++ b/src/com/rjconsultores/ventaboletos/vo/embarcada/EmpresaVO.java @@ -10,6 +10,7 @@ public class EmpresaVO { private Boolean indImprimeRelFechamentoViagemDetalhadoEmarcada; private Boolean indImprimeLogoBilheteVendaEmbarcada; private Boolean indImpressaoCanhotoEmbarcada; + private Boolean indSegundaViaFechamentoCaixa; private List inscricoesEstaduais = new ArrayList(); @@ -69,4 +70,13 @@ public class EmpresaVO { this.indImpressaoCanhotoEmbarcada = indImpressaoCanhotoEmbarcada; } + public Boolean getIndSegundaViaFechamentoCaixa() { + return indSegundaViaFechamentoCaixa ==null ? Boolean.FALSE : indSegundaViaFechamentoCaixa; + } + + public void setIndSegundaViaFechamentoCaixa(Boolean indSegundaViaFechamentoCaixa) { + this.indSegundaViaFechamentoCaixa = indSegundaViaFechamentoCaixa; + } + + }