From a6c15ecfcffcbcaa2ca0db35d28e637b72fa5dbe Mon Sep 17 00:00:00 2001 From: wilian Date: Tue, 9 Jun 2020 13:38:18 +0000 Subject: [PATCH] bug#19444 dev:thiago qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@102031 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../entidad/CategoriaDescuento.java | 22 ++++++++++++++++ .../ventaboletos/entidad/Cliente.java | 25 +++++++++++++++++-- 2 files changed, 45 insertions(+), 2 deletions(-) diff --git a/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java b/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java index 74492e55e..fc610a491 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java +++ b/src/com/rjconsultores/ventaboletos/entidad/CategoriaDescuento.java @@ -179,6 +179,12 @@ public class CategoriaDescuento implements Serializable { @Column(name = "TEMPOLIBERACAODEPOISKM") private Date tempoLiberacaoDepoisKM; + @Column(name = "QTDE_LIMITE_NAO_EMBARQUE") + private Integer qtdeLimiteNaoEmbarque; + + @Column(name = "INDCLIENTEPCD") + private Boolean indClientePcd; + @Column(name = "INDPERMITETROCATRANSFERENCIA") private Boolean indPermiteTrocaTransferencia; @@ -793,6 +799,22 @@ public class CategoriaDescuento implements Serializable { return BooleanUtils.toBoolean(indVendaAntecipadaPorKM); } + public Integer getQtdeLimiteNaoEmbarque() { + return qtdeLimiteNaoEmbarque; + } + + public void setQtdeLimiteNaoEmbarque(Integer qtdeLimiteNaoEmbarque) { + this.qtdeLimiteNaoEmbarque = qtdeLimiteNaoEmbarque; + } + + public Boolean getIndClientePcd() { + return BooleanUtils.toBoolean(indClientePcd); + } + + public void setIndClientePcd(Boolean indClientePcd) { + this.indClientePcd = indClientePcd; + } + public Boolean getIndPermiteTrocaTransferencia() { return BooleanUtils.toBoolean(indPermiteTrocaTransferencia); } diff --git a/src/com/rjconsultores/ventaboletos/entidad/Cliente.java b/src/com/rjconsultores/ventaboletos/entidad/Cliente.java index e5482a0c1..885da2924 100644 --- a/src/com/rjconsultores/ventaboletos/entidad/Cliente.java +++ b/src/com/rjconsultores/ventaboletos/entidad/Cliente.java @@ -13,7 +13,6 @@ import javax.persistence.Basic; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; -import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; @@ -27,7 +26,6 @@ import javax.persistence.SequenceGenerator; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; -import javax.persistence.Transient; import org.hibernate.annotations.Where; @@ -142,6 +140,13 @@ public class Cliente implements Serializable { @Temporal(TemporalType.TIMESTAMP) private Date fecCadastro; + @Column(name = "INDCLIENTEPCD") + private Boolean indClientePcd; + + @Column(name = "FECBLOQUEIOPCD") + @Temporal(TemporalType.DATE) + private Date fecbloqueiopcd; + public Cliente() { } @@ -519,4 +524,20 @@ public class Cliente implements Serializable { return lsActivos; } + public Boolean getIndClientePcd() { + return indClientePcd; + } + + public void setIndClientePcd(Boolean indClientePcd) { + this.indClientePcd = indClientePcd; + } + + public Date getFecbloqueiopcd() { + return fecbloqueiopcd; + } + + public void setFecbloqueiopcd(Date fecbloqueiopcd) { + this.fecbloqueiopcd = fecbloqueiopcd; + } + }