From 46a83920679e1c53a4913f52e7630ac261be30c5 Mon Sep 17 00:00:00 2001 From: leonardo Date: Wed, 6 Nov 2019 20:04:26 +0000 Subject: [PATCH] =?UTF-8?q?16970:=20Parametrizar=20Venda=20embarcada=20n?= =?UTF-8?q?=C3=A3o=20Bpe=20fixes=20bug#16970=20dev:=20valdevir=20qua:?= 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@98645 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/entidad/DispositivoEmbarcada.java | 9 +++++++++ .../vo/embarcada/DispositivoEmbarcadaVO.java | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/com/rjconsultores/ventaboletos/entidad/DispositivoEmbarcada.java b/src/com/rjconsultores/ventaboletos/entidad/DispositivoEmbarcada.java index 98801dc77..e6c8b9a36 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/DispositivoEmbarcada.java +++ b/src/com/rjconsultores/ventaboletos/entidad/DispositivoEmbarcada.java @@ -70,6 +70,9 @@ public class DispositivoEmbarcada { @OneToMany(mappedBy="dispositivoEmbarcada", cascade = CascadeType.ALL, fetch = FetchType.EAGER) private List series = new ArrayList(); + @Column(name = "IND_VENDE_BPE") + private Boolean indVendeNaoBpe; + public Long getDispositivoEmbarcadaId() { return dispositivoEmbarcadaId; } @@ -175,6 +178,12 @@ public class DispositivoEmbarcada { this.series = series; } + public Boolean getIndVendeNaoBpe() { + return indVendeNaoBpe; + } + public void setIndVendeNaoBpe(Boolean indVendeNaoBpe) { + this.indVendeNaoBpe = indVendeNaoBpe; + } @Override public String toString() { return this.getDescricao(); diff --git a/src/com/rjconsultores/ventaboletos/vo/embarcada/DispositivoEmbarcadaVO.java b/src/com/rjconsultores/ventaboletos/vo/embarcada/DispositivoEmbarcadaVO.java index f8803e314..827a29157 100644 --- a/src/com/rjconsultores/ventaboletos/vo/embarcada/DispositivoEmbarcadaVO.java +++ b/src/com/rjconsultores/ventaboletos/vo/embarcada/DispositivoEmbarcadaVO.java @@ -21,7 +21,8 @@ public class DispositivoEmbarcadaVO { private String enderecoEmpresa; private String msg; private Integer estacionId; - private List empresasVenda = new ArrayList(); + private List empresasVenda = new ArrayList(); + private Boolean indVendeNaoBpe; public void add(EstadoDispositivoEmbarcadaVO estado){ estados.add(estado); @@ -152,6 +153,14 @@ public class DispositivoEmbarcadaVO { public void setNumagencia(String numagencia) { this.numagencia = numagencia; + } + + public Boolean getIndVendeNaoBpe() { + return indVendeNaoBpe; + } + + public void setIndVendeNaoBpe(Boolean indVendeNaoBpe) { + this.indVendeNaoBpe = indVendeNaoBpe; } }