fixes bug #AL-2209
parent
d733eb6398
commit
3e749d7d3a
|
@ -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.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -12,8 +13,6 @@ import java.util.List;
|
||||||
import javax.persistence.Basic;
|
import javax.persistence.Basic;
|
||||||
import javax.persistence.Column;
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.EnumType;
|
|
||||||
import javax.persistence.Enumerated;
|
|
||||||
import javax.persistence.GeneratedValue;
|
import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.OneToMany;
|
import javax.persistence.OneToMany;
|
||||||
|
@ -78,6 +77,9 @@ public class FormaPago implements Serializable, Auditavel<FormaPago> {
|
||||||
@Column(name = "INDCONFERENCIAFISICACOMISSAO")
|
@Column(name = "INDCONFERENCIAFISICACOMISSAO")
|
||||||
private Boolean indconferenciafisicacomissao;
|
private Boolean indconferenciafisicacomissao;
|
||||||
|
|
||||||
|
@Column (name = "INDPERCENTUALDESCONTO")
|
||||||
|
private Boolean indPercentualDesconto;
|
||||||
|
|
||||||
@Type(type = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate", parameters = {
|
@Type(type = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate", parameters = {
|
||||||
@Parameter(name = "type", value = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate"),
|
@Parameter(name = "type", value = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate"),
|
||||||
@Parameter(name = "class", value = "com.rjconsultores.ventaboletos.enums.TipoFormapago"),
|
@Parameter(name = "class", value = "com.rjconsultores.ventaboletos.enums.TipoFormapago"),
|
||||||
|
@ -96,9 +98,17 @@ public class FormaPago implements Serializable, Auditavel<FormaPago> {
|
||||||
|
|
||||||
@Column(name = "INDVOUCHERRODOVIARIA")
|
@Column(name = "INDVOUCHERRODOVIARIA")
|
||||||
private Boolean indVoucherRodoviaria;
|
private Boolean indVoucherRodoviaria;
|
||||||
|
|
||||||
@Column(name = "INDTRANSFERENCIAREATIVACAO")
|
@Column(name = "INDTRANSFERENCIAREATIVACAO")
|
||||||
private Boolean indTransferenciaReativacao;
|
private Boolean indTransferenciaReativacao;
|
||||||
|
|
||||||
|
@Column(name = "VALORDESCONTO")
|
||||||
|
private BigDecimal valorDesconto;
|
||||||
|
|
||||||
|
@Column(name = "PERCENTUALDESCONTO")
|
||||||
|
private BigDecimal percentualDesconto;
|
||||||
|
|
||||||
|
|
||||||
@Type(type = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate", parameters = {
|
@Type(type = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate", parameters = {
|
||||||
@Parameter(name = "type", value = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate"),
|
@Parameter(name = "type", value = "com.rjconsultores.ventaboletos.constantes.CustomEnumTypeHibernate"),
|
||||||
@Parameter(name = "class", value = "com.rjconsultores.ventaboletos.enums.TipoCarteiraDigital"),
|
@Parameter(name = "class", value = "com.rjconsultores.ventaboletos.enums.TipoCarteiraDigital"),
|
||||||
|
@ -350,6 +360,31 @@ public class FormaPago implements Serializable, Auditavel<FormaPago> {
|
||||||
this.indETicket = indETicket;
|
this.indETicket = indETicket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public Boolean getIndPercentualDesconto() {
|
||||||
|
return indPercentualDesconto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndPercentualDesconto(Boolean indPercentualDesconto) {
|
||||||
|
this.indPercentualDesconto = indPercentualDesconto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getValorDesconto() {
|
||||||
|
return valorDesconto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setValorDesconto(BigDecimal valorDesconto) {
|
||||||
|
this.valorDesconto = valorDesconto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BigDecimal getPercentualDesconto() {
|
||||||
|
return percentualDesconto;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPercentualDesconto(BigDecimal percentualDesconto) {
|
||||||
|
this.percentualDesconto = percentualDesconto;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public FormaPago getCloneObject() throws CloneNotSupportedException {
|
public FormaPago getCloneObject() throws CloneNotSupportedException {
|
||||||
return formaPagoClone;
|
return formaPagoClone;
|
||||||
|
|
Loading…
Reference in New Issue