Merge pull request 'fixes bug#AL-4049' (!184) from AL-4049 into master

Reviewed-on: adm/ModelWeb#184
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
master
aristides 2024-05-13 14:34:59 +00:00
commit 06320bbdd5
3 changed files with 29 additions and 1 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.55.0</version> <version>1.56.0</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -58,6 +58,10 @@ public class HistoricoPuntoVenta implements Serializable, Auditavel<HistoricoPun
@Column(name = "USUARIO_ID") @Column(name = "USUARIO_ID")
private Integer usuarioId; private Integer usuarioId;
@Column(name = "MOTIVO_BLOQUEIO")
private String motivoBloqueio;
@Transient @Transient
@NaoAuditar @NaoAuditar
private HistoricoPuntoVenta historicoPuntoVentaClone; private HistoricoPuntoVenta historicoPuntoVentaClone;
@ -136,6 +140,17 @@ public class HistoricoPuntoVenta implements Serializable, Auditavel<HistoricoPun
return String.format("ID [%s]", getHistoricoPuntoVentaId()); return String.format("ID [%s]", getHistoricoPuntoVentaId());
} }
public String getMotivoBloqueio() {
return motivoBloqueio;
}
public void setMotivoBloqueio(String motivoBloqueio) {
this.motivoBloqueio = motivoBloqueio;
}
} }

View File

@ -352,6 +352,9 @@ public class PuntoVenta implements Serializable, Auditavel<PuntoVenta> {
@Column(name = "INDPONTOVENDANAOPRESENCIAL") @Column(name = "INDPONTOVENDANAOPRESENCIAL")
private Boolean indPontoVendaNaoPresencial; private Boolean indPontoVendaNaoPresencial;
@Column(name = "MOTIVO_BLOQUEIO")
private String motivoBloqueio;
public List<CobrancaAdcPuntoVenta> getCobrancaAdicionalList() { public List<CobrancaAdcPuntoVenta> getCobrancaAdicionalList() {
return cobrancaAdicionalList; return cobrancaAdicionalList;
} }
@ -1399,4 +1402,14 @@ public class PuntoVenta implements Serializable, Auditavel<PuntoVenta> {
public void setIndPontoVendaNaoPresencial(Boolean indPontoVendaNaoPresencial) { public void setIndPontoVendaNaoPresencial(Boolean indPontoVendaNaoPresencial) {
this.indPontoVendaNaoPresencial = indPontoVendaNaoPresencial; this.indPontoVendaNaoPresencial = indPontoVendaNaoPresencial;
} }
public String getMotivoBloqueio() {
return motivoBloqueio;
}
public void setMotivoBloqueio(String motivoBloqueio) {
this.motivoBloqueio = motivoBloqueio;
}
} }