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;
|
package com.rjconsultores.ventaboletos.entidad;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -220,6 +221,12 @@ public class PuntoVenta implements Serializable {
|
||||||
@LazyCollection(LazyCollectionOption.FALSE)
|
@LazyCollection(LazyCollectionOption.FALSE)
|
||||||
private List<CategoriaBloqueioImpPosterior> categoriaBloqImpPosteriorList;
|
private List<CategoriaBloqueioImpPosterior> categoriaBloqImpPosteriorList;
|
||||||
|
|
||||||
|
@Column(name = "TAXACONVENIENCIAPORC")
|
||||||
|
private BigDecimal taxaConvenienciaPorc;
|
||||||
|
|
||||||
|
@Column(name = "MAXIMOTAXACONVENIENCIA")
|
||||||
|
private Double maximoTaxaConveniencia;
|
||||||
|
|
||||||
public PtovtaEmpresaBloqueada addEmpresaBloqueada(Empresa e) {
|
public PtovtaEmpresaBloqueada addEmpresaBloqueada(Empresa e) {
|
||||||
PtovtaEmpresaBloqueada eb = new PtovtaEmpresaBloqueada();
|
PtovtaEmpresaBloqueada eb = new PtovtaEmpresaBloqueada();
|
||||||
eb.setEmpresa(e);
|
eb.setEmpresa(e);
|
||||||
|
@ -989,4 +996,33 @@ public class PuntoVenta implements Serializable {
|
||||||
public void removeCategoriaBloqImpPosterior(CategoriaBloqueioImpPosterior cat){
|
public void removeCategoriaBloqImpPosterior(CategoriaBloqueioImpPosterior cat){
|
||||||
this.categoriaBloqImpPosteriorList.remove(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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,6 +106,9 @@ public class TipoEventoExtra implements Serializable {
|
||||||
@Enumerated(EnumType.STRING)
|
@Enumerated(EnumType.STRING)
|
||||||
@Column(name = "CVETIPOEVENTO")
|
@Column(name = "CVETIPOEVENTO")
|
||||||
private com.rjconsultores.ventaboletos.constantes.TipoEventoExtra cvetipoevento;
|
private com.rjconsultores.ventaboletos.constantes.TipoEventoExtra cvetipoevento;
|
||||||
|
|
||||||
|
@Column(name="CVESISTEMA")
|
||||||
|
private String cveSistema;
|
||||||
|
|
||||||
public TipoEventoExtraEmpresa addEmpresa(Empresa e) {
|
public TipoEventoExtraEmpresa addEmpresa(Empresa e) {
|
||||||
TipoEventoExtraEmpresa t = new TipoEventoExtraEmpresa();
|
TipoEventoExtraEmpresa t = new TipoEventoExtraEmpresa();
|
||||||
|
@ -385,5 +388,19 @@ public class TipoEventoExtra implements Serializable {
|
||||||
public void setCvetipoevento(com.rjconsultores.ventaboletos.constantes.TipoEventoExtra cvetipoevento) {
|
public void setCvetipoevento(com.rjconsultores.ventaboletos.constantes.TipoEventoExtra cvetipoevento) {
|
||||||
this.cvetipoevento = cvetipoevento;
|
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