From febc08bf1176c7545bceb9b1eb1a356839bd4f69 Mon Sep 17 00:00:00 2001 From: valdevir Date: Mon, 8 Jun 2020 19:33:24 +0000 Subject: [PATCH] =?UTF-8?q?fixes=20bug#17888=20qua:=20dev:Thiago=20Clement?= =?UTF-8?q?e=20Adicionado=20par=C3=A2metro=20de=20configura=C3=A7=C3=A3o?= =?UTF-8?q?=20para=20impress=C3=A3o=20de=20segunda=20via=20de=20fechamento?= =?UTF-8?q?=20de=20caixa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@102019 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../rjconsultores/ventaboletos/entidad/Empresa.java | 11 +++++++++++ .../ventaboletos/vo/embarcada/EmpresaVO.java | 10 ++++++++++ 2 files changed, 21 insertions(+) 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; + } + + }