Implementações na OCD feat bug#AL-3779' (!170) from AL-3779 into master
Reviewed-on: adm/ModelWeb#170 Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master
commit
8d90147453
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ModelWeb</artifactId>
|
<artifactId>ModelWeb</artifactId>
|
||||||
<version>1.43.2</version>
|
<version>1.44.0</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -26,19 +26,18 @@ import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@Table(name = "OCD_PARAM")
|
@Table(name = "OCD_PARAM")
|
||||||
public class OCDParam implements java.io.Serializable {
|
public class OCDParam implements java.io.Serializable {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
private Long ocdparamId;
|
private Long ocdparamId;
|
||||||
private BigDecimal penalizacion;
|
private BigDecimal penalizacion;
|
||||||
private Integer diasPagar;
|
private Integer diasPagar;
|
||||||
private PuntoVenta puntoventa;
|
private PuntoVenta puntoventa;
|
||||||
private Empresa empresa;
|
private Empresa empresa;
|
||||||
private Estado estado;
|
private Estado estado;
|
||||||
private Boolean activo;
|
private Boolean activo;
|
||||||
private Date fecmodif;
|
private Date fecmodif;
|
||||||
private Integer usuarioId;
|
private Integer usuarioId;
|
||||||
|
@ -52,9 +51,9 @@ public class OCDParam implements java.io.Serializable {
|
||||||
private Boolean indOCDPorFormadePagamento;
|
private Boolean indOCDPorFormadePagamento;
|
||||||
private BigDecimal tiempoLimitePenalizacion;
|
private BigDecimal tiempoLimitePenalizacion;
|
||||||
private List<OCDPtoVtaParam> listOCDPtoVtaParam;
|
private List<OCDPtoVtaParam> listOCDPtoVtaParam;
|
||||||
|
private Boolean indEstornoPix;
|
||||||
|
|
||||||
public OCDParam(Long ocdparamId, BigDecimal penalizacion,
|
public OCDParam(Long ocdparamId, BigDecimal penalizacion, Integer diasPagar, PuntoVenta puntoventa, Empresa empresa,
|
||||||
Integer diasPagar, PuntoVenta puntoventa, Empresa empresa,
|
|
||||||
Estado estado, Boolean activo, Date fecmodif, Integer usuarioId) {
|
Estado estado, Boolean activo, Date fecmodif, Integer usuarioId) {
|
||||||
super();
|
super();
|
||||||
this.ocdparamId = ocdparamId;
|
this.ocdparamId = ocdparamId;
|
||||||
|
@ -67,8 +66,9 @@ public class OCDParam implements java.io.Serializable {
|
||||||
this.fecmodif = fecmodif;
|
this.fecmodif = fecmodif;
|
||||||
this.usuarioId = usuarioId;
|
this.usuarioId = usuarioId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public OCDParam() {/*...*/}
|
public OCDParam() {
|
||||||
|
/* ... */}
|
||||||
|
|
||||||
@SequenceGenerator(name = "OCD_PARAM_SEQ", sequenceName = "OCD_PARAM_SEQ", allocationSize = 1)
|
@SequenceGenerator(name = "OCD_PARAM_SEQ", sequenceName = "OCD_PARAM_SEQ", allocationSize = 1)
|
||||||
@Id
|
@Id
|
||||||
|
@ -198,6 +198,7 @@ public class OCDParam implements java.io.Serializable {
|
||||||
public void setIndOcdDinheiro(Boolean indOcdDinheiro) {
|
public void setIndOcdDinheiro(Boolean indOcdDinheiro) {
|
||||||
this.indOcdDinheiro = indOcdDinheiro;
|
this.indOcdDinheiro = indOcdDinheiro;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Column(name = "INDOCDTRANSFERENCIA")
|
@Column(name = "INDOCDTRANSFERENCIA")
|
||||||
public Boolean getIndOCDTransferencia() {
|
public Boolean getIndOCDTransferencia() {
|
||||||
return indOCDTransferencia;
|
return indOCDTransferencia;
|
||||||
|
@ -224,8 +225,7 @@ public class OCDParam implements java.io.Serializable {
|
||||||
public void setTiempoLimitePenalizacion(BigDecimal tiempoLimitePenalizacion) {
|
public void setTiempoLimitePenalizacion(BigDecimal tiempoLimitePenalizacion) {
|
||||||
this.tiempoLimitePenalizacion = tiempoLimitePenalizacion;
|
this.tiempoLimitePenalizacion = tiempoLimitePenalizacion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Column(name = "INDOCDFORMAPAGAMENTO")
|
@Column(name = "INDOCDFORMAPAGAMENTO")
|
||||||
public Boolean getIndOCDPorFormadePagamento() {
|
public Boolean getIndOCDPorFormadePagamento() {
|
||||||
return indOCDPorFormadePagamento;
|
return indOCDPorFormadePagamento;
|
||||||
|
@ -245,9 +245,10 @@ public class OCDParam implements java.io.Serializable {
|
||||||
this.listOCDPtoVtaParam.add(ocd);
|
this.listOCDPtoVtaParam.add(ocd);
|
||||||
return ocd;
|
return ocd;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void removePtovtaOCDParam(OCDPtoVtaParam ocdPtoVtaParam) {
|
public void removePtovtaOCDParam(OCDPtoVtaParam ocdPtoVtaParam) {
|
||||||
this.listOCDPtoVtaParam.remove(ocdPtoVtaParam);
|
this.listOCDPtoVtaParam.remove(ocdPtoVtaParam);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -274,6 +275,14 @@ public class OCDParam implements java.io.Serializable {
|
||||||
|
|
||||||
public void setIndsempregerarapagar(Boolean indsempregerarapagar) {
|
public void setIndsempregerarapagar(Boolean indsempregerarapagar) {
|
||||||
this.indsempregerarapagar = indsempregerarapagar;
|
this.indsempregerarapagar = indsempregerarapagar;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getIndEstornoPix() {
|
||||||
|
return indEstornoPix == null ? false : indEstornoPix;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndEstornoPix(Boolean indEstornoPix) {
|
||||||
|
this.indEstornoPix = indEstornoPix;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue