Merge branch 'master' of http://18.235.188.113:3000/adm/ModelWeb into AL-4463

# Conflicts:
#	pom.xml
master
Aristides dos Reis Júnior 2024-10-03 10:35:00 -03:00
commit 54a8cb35ef
4 changed files with 38 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ModelWeb</artifactId>
<version>1.110.0</version>
<version>1.113.0</version>
<distributionManagement>
<repository>

View File

@ -133,6 +133,9 @@ public class Categoria implements Serializable, Auditavel<Categoria>{
@Column(name = "INDEMITEFORMAUTORIZACAO")
private Boolean indEmiteFormularioAutorizacao;
@Column(name = "INDVENDEEMPEAPI")
private Boolean indVendaEmPeAPI;
@OneToMany(mappedBy = "categoria", cascade = CascadeType.ALL)
private List<CategoriaFormAutorizacao> formsAutorizacao = new ArrayList<CategoriaFormAutorizacao>();
@ -378,6 +381,14 @@ public class Categoria implements Serializable, Auditavel<Categoria>{
public void setFormsAutorizacao(List<CategoriaFormAutorizacao> formsAutorizacao) {
this.formsAutorizacao = formsAutorizacao;
}
public Boolean getIndVendaEmPeAPI() {
return indVendaEmPeAPI;
}
public void setIndVendaEmPeAPI(Boolean indVendaEmPeAPI) {
this.indVendaEmPeAPI = indVendaEmPeAPI;
}
}

View File

@ -5,6 +5,7 @@
package com.rjconsultores.ventaboletos.entidad;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@ -124,6 +125,12 @@ public class Parada implements Serializable, Auditavel<Parada> {
@NaoAuditar
Boolean isParadaConexaoRutaExcluida;
@Column(name="latitude")
private BigDecimal latitude;
@Column(name="longitude")
private BigDecimal longitude;
public Boolean getIsParadaConexaoRutaExcluida() {
return isParadaConexaoRutaExcluida ==null?false:isParadaConexaoRutaExcluida;
@ -429,5 +436,21 @@ public class Parada implements Serializable, Auditavel<Parada> {
public Object clone() throws CloneNotSupportedException {
return super.clone();
}
public BigDecimal getLatitude() {
return latitude;
}
public void setLatitude(BigDecimal latitude) {
this.latitude = latitude;
}
public BigDecimal getLongitude() {
return longitude;
}
public void setLongitude(BigDecimal longitude) {
this.longitude = longitude;
}
}

View File

@ -24,7 +24,8 @@ public enum TipoFormapago {
ADYEN(17,Labels.getLabel("editarFormaPagoController.lblAdyen.label")),
MERCADO_PAGO(18,Labels.getLabel("editarFormaPagoController.lblMercadoPago.label")),
EMBARQUE_JA(19,Labels.getLabel("editarFormaPagoController.lblEmbarqueJa.label")),
NEQUI(20,Labels.getLabel("editarFormaPagoController.lblNequi.label"))
NEQUI(20,Labels.getLabel("editarFormaPagoController.lblNequi.label")),
BONO(21,Labels.getLabel("editarFormaPagoController.lblBono.label"))
;
private Integer valor;