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