fixed bug #9091 - Criação de campos para cobrança da taxa de conveniencia na venda.
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@69877 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
fa495453ea
commit
123d60e166
|
@ -5,6 +5,7 @@
|
|||
package com.rjconsultores.ventaboletos.entidad;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
|
@ -220,6 +221,12 @@ public class PuntoVenta implements Serializable {
|
|||
@LazyCollection(LazyCollectionOption.FALSE)
|
||||
private List<CategoriaBloqueioImpPosterior> categoriaBloqImpPosteriorList;
|
||||
|
||||
@Column(name = "TAXACONVENIENCIAPORC")
|
||||
private BigDecimal taxaConvenienciaPorc;
|
||||
|
||||
@Column(name = "MAXIMOTAXACONVENIENCIA")
|
||||
private Double maximoTaxaConveniencia;
|
||||
|
||||
public PtovtaEmpresaBloqueada addEmpresaBloqueada(Empresa e) {
|
||||
PtovtaEmpresaBloqueada eb = new PtovtaEmpresaBloqueada();
|
||||
eb.setEmpresa(e);
|
||||
|
@ -989,4 +996,33 @@ public class PuntoVenta implements Serializable {
|
|||
public void removeCategoriaBloqImpPosterior(CategoriaBloqueioImpPosterior cat){
|
||||
this.categoriaBloqImpPosteriorList.remove(cat);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the maximoTaxaConveniencia
|
||||
*/
|
||||
public Double getMaximoTaxaConveniencia() {
|
||||
return maximoTaxaConveniencia;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param maximoTaxaConveniencia the maximoTaxaConveniencia to set
|
||||
*/
|
||||
public void setMaximoTaxaConveniencia(Double maximoTaxaConveniencia) {
|
||||
this.maximoTaxaConveniencia = maximoTaxaConveniencia;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the taxaConvenienciaPorc
|
||||
*/
|
||||
public BigDecimal getTaxaConvenienciaPorc() {
|
||||
return taxaConvenienciaPorc;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param taxaConvenienciaPorc the taxaConvenienciaPorc to set
|
||||
*/
|
||||
public void setTaxaConvenienciaPorc(BigDecimal taxaConvenienciaPorc) {
|
||||
this.taxaConvenienciaPorc = taxaConvenienciaPorc;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -107,6 +107,9 @@ public class TipoEventoExtra implements Serializable {
|
|||
@Column(name = "CVETIPOEVENTO")
|
||||
private com.rjconsultores.ventaboletos.constantes.TipoEventoExtra cvetipoevento;
|
||||
|
||||
@Column(name="CVESISTEMA")
|
||||
private String cveSistema;
|
||||
|
||||
public TipoEventoExtraEmpresa addEmpresa(Empresa e) {
|
||||
TipoEventoExtraEmpresa t = new TipoEventoExtraEmpresa();
|
||||
t.setEmpresa(e);
|
||||
|
@ -386,4 +389,18 @@ public class TipoEventoExtra implements Serializable {
|
|||
this.cvetipoevento = cvetipoevento;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the cveSistema
|
||||
*/
|
||||
public String getCveSistema() {
|
||||
return cveSistema;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param cveSistema the cveSistema to set
|
||||
*/
|
||||
public void setCveSistema(String cveSistema) {
|
||||
this.cveSistema = cveSistema;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue