bug#AL-1627

master
Lucas Taiã 2022-12-29 14:40:59 +00:00 committed by lucas.taia
commit 41d86f6b7e
5 changed files with 40 additions and 5 deletions

View File

@ -3,8 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ModelWeb</artifactId>
<version>1.0.17</version>
<version>1.0.18</version>
<distributionManagement>
<repository>
<id>rj-releases</id>

View File

@ -95,5 +95,10 @@ public enum TipoEventoExtra {
public String toString() {
return "TARIFA_SAFER";
}
},
JUROS_CARTAO_CREDITO{
public String toString() {
return "JUROS_CARTAO_CREDITO";
}
};
}

View File

@ -405,6 +405,9 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
@Column(name = "INDSEGUNDAVIASEGOPCIONAL")
private Boolean indSegundaViaSegOpcional;
@Column(name = "INDJUROSCREDITO")
private Boolean indJurosCredito;
@Transient
@NaoAuditar
private Empresa empresaClone;
@ -1504,4 +1507,12 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
public void setIndSegundaViaSegOpcional(Boolean indSegundaViaSegOpcional) {
this.indSegundaViaSegOpcional = indSegundaViaSegOpcional;
}
public Boolean getIndJurosCredito() {
return indJurosCredito;
}
public void setIndJurosCredito(Boolean indJurosCredito) {
this.indJurosCredito = indJurosCredito;
}
}

View File

@ -46,6 +46,10 @@ public class TarjetaCredito implements Serializable {
@OneToOne
@JoinColumn(name = "EMPRESA_ID")
private Empresa empresa;
@Column(name = "TARIFAMINIMA")
private BigDecimal tarifaMinima;
@Column(name = "INDAPLICAVENDA")
private Boolean indAplicaVenda;
public Integer getTarjetaCreditoId() {
return tarjetaCreditoId;
@ -119,6 +123,22 @@ public class TarjetaCredito implements Serializable {
this.empresa = empresa;
}
public BigDecimal getTarifaMinima() {
return tarifaMinima;
}
public void setTarifaMinima(BigDecimal tarifaMinima) {
this.tarifaMinima = tarifaMinima;
}
public Boolean getIndAplicaVenda() {
return indAplicaVenda;
}
public void setIndAplicaVenda(Boolean indAplicaVenda) {
this.indAplicaVenda = indAplicaVenda;
}
@Override
public int hashCode() {
final int prime = 31;
@ -143,4 +163,5 @@ public class TarjetaCredito implements Serializable {
return false;
return true;
}
}

View File

@ -11,8 +11,7 @@ public enum TipoImpressora {
DARUMA(4, Labels.getLabel("editarEstacionController.tipoImpressora.darumaFiscal"), true),
DARUMA_BLINDADA(5, Labels.getLabel("editarEstacionController.tipoImpressora.darumaFiscalBlindada"), true),
STOCK_CENTRAL(6, Labels.getLabel("editarEstacionController.tipoImpressora.stockCentral"), true),
BPE(7, Labels.getLabel("editarEstacionController.tipoImpressora.bpe"), true),
MACON(8, Labels.getLabel("editarEstacionController.tipoImpressora.macon"), true);
BPE(7, Labels.getLabel("editarEstacionController.tipoImpressora.bpe"), true);
private final int codigo;
private final String nome;