bug#AL-1627
commit
41d86f6b7e
3
pom.xml
3
pom.xml
|
@ -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>
|
||||
|
|
|
@ -95,5 +95,10 @@ public enum TipoEventoExtra {
|
|||
public String toString() {
|
||||
return "TARIFA_SAFER";
|
||||
}
|
||||
},
|
||||
JUROS_CARTAO_CREDITO{
|
||||
public String toString() {
|
||||
return "JUROS_CARTAO_CREDITO";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue