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> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ModelWeb</artifactId> <artifactId>ModelWeb</artifactId>
<version>1.110.0</version> <version>1.113.0</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -133,6 +133,9 @@ public class Categoria implements Serializable, Auditavel<Categoria>{
@Column(name = "INDEMITEFORMAUTORIZACAO") @Column(name = "INDEMITEFORMAUTORIZACAO")
private Boolean indEmiteFormularioAutorizacao; private Boolean indEmiteFormularioAutorizacao;
@Column(name = "INDVENDEEMPEAPI")
private Boolean indVendaEmPeAPI;
@OneToMany(mappedBy = "categoria", cascade = CascadeType.ALL) @OneToMany(mappedBy = "categoria", cascade = CascadeType.ALL)
private List<CategoriaFormAutorizacao> formsAutorizacao = new ArrayList<CategoriaFormAutorizacao>(); private List<CategoriaFormAutorizacao> formsAutorizacao = new ArrayList<CategoriaFormAutorizacao>();
@ -379,5 +382,13 @@ public class Categoria implements Serializable, Auditavel<Categoria>{
this.formsAutorizacao = 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; 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;
@ -124,6 +125,12 @@ public class Parada implements Serializable, Auditavel<Parada> {
@NaoAuditar @NaoAuditar
Boolean isParadaConexaoRutaExcluida; Boolean isParadaConexaoRutaExcluida;
@Column(name="latitude")
private BigDecimal latitude;
@Column(name="longitude")
private BigDecimal longitude;
public Boolean getIsParadaConexaoRutaExcluida() { public Boolean getIsParadaConexaoRutaExcluida() {
return isParadaConexaoRutaExcluida ==null?false:isParadaConexaoRutaExcluida; return isParadaConexaoRutaExcluida ==null?false:isParadaConexaoRutaExcluida;
@ -430,4 +437,20 @@ public class Parada implements Serializable, Auditavel<Parada> {
return super.clone(); 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")), ADYEN(17,Labels.getLabel("editarFormaPagoController.lblAdyen.label")),
MERCADO_PAGO(18,Labels.getLabel("editarFormaPagoController.lblMercadoPago.label")), MERCADO_PAGO(18,Labels.getLabel("editarFormaPagoController.lblMercadoPago.label")),
EMBARQUE_JA(19,Labels.getLabel("editarFormaPagoController.lblEmbarqueJa.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; private Integer valor;