Merge branch 'master' into melhoria_enums
commit
87e8cf52f1
|
@ -95,5 +95,10 @@ public enum TipoEventoExtra {
|
|||
public String toString() {
|
||||
return "TARIFA_SAFER";
|
||||
}
|
||||
},
|
||||
JUROS_CARTAO_CREDITO{
|
||||
public String toString() {
|
||||
return "JUROS_CARTAO_CREDITO";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -126,6 +126,10 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
|||
|
||||
@Column(name = "INDEXIGEBPEEXCESSOBAGAGEM")
|
||||
private Boolean indExigeBpeExcessoBagagem;
|
||||
|
||||
@Column(name = "INDVENDEBILHETESEMELHANTE")
|
||||
private Boolean indVendeDeBilheteSemelhante;
|
||||
|
||||
|
||||
@OneToMany(mappedBy = "empresa")
|
||||
private List<InscricaoEstadual> inscricoesEstaduais;
|
||||
|
@ -404,6 +408,9 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
|||
|
||||
@Column(name = "INDSEGUNDAVIASEGOPCIONAL")
|
||||
private Boolean indSegundaViaSegOpcional;
|
||||
|
||||
@Column(name = "INDJUROSCREDITO")
|
||||
private Boolean indJurosCredito;
|
||||
|
||||
@Transient
|
||||
@NaoAuditar
|
||||
|
@ -1343,7 +1350,15 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
|||
public void setIndExigeBpeExcessoBagagem(Boolean indExigeBpeExcessoBagagem) {
|
||||
this.indExigeBpeExcessoBagagem = indExigeBpeExcessoBagagem;
|
||||
}
|
||||
|
||||
|
||||
public Boolean getIndVendeDeBilheteSemelhante() {
|
||||
return indVendeDeBilheteSemelhante == null ? false: indVendeDeBilheteSemelhante ;
|
||||
}
|
||||
|
||||
public void setIndVendeDeBilheteSemelhante(Boolean indVendeDeBilheteSemelhante) {
|
||||
this.indVendeDeBilheteSemelhante = indVendeDeBilheteSemelhante;
|
||||
}
|
||||
|
||||
public String getUrlBaseEmpresaSeguro() {
|
||||
return urlBaseEmpresaSeguro;
|
||||
}
|
||||
|
@ -1504,4 +1519,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;
|
||||
|
@ -118,6 +122,22 @@ public class TarjetaCredito implements Serializable {
|
|||
public void setEmpresa(Empresa empresa) {
|
||||
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() {
|
||||
|
@ -143,4 +163,5 @@ public class TarjetaCredito implements Serializable {
|
|||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue