Merge branch 'master' into melhoria_enums
commit
87e8cf52f1
|
@ -95,5 +95,10 @@ public enum TipoEventoExtra {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "TARIFA_SAFER";
|
return "TARIFA_SAFER";
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
JUROS_CARTAO_CREDITO{
|
||||||
|
public String toString() {
|
||||||
|
return "JUROS_CARTAO_CREDITO";
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,6 +127,10 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
||||||
@Column(name = "INDEXIGEBPEEXCESSOBAGAGEM")
|
@Column(name = "INDEXIGEBPEEXCESSOBAGAGEM")
|
||||||
private Boolean indExigeBpeExcessoBagagem;
|
private Boolean indExigeBpeExcessoBagagem;
|
||||||
|
|
||||||
|
@Column(name = "INDVENDEBILHETESEMELHANTE")
|
||||||
|
private Boolean indVendeDeBilheteSemelhante;
|
||||||
|
|
||||||
|
|
||||||
@OneToMany(mappedBy = "empresa")
|
@OneToMany(mappedBy = "empresa")
|
||||||
private List<InscricaoEstadual> inscricoesEstaduais;
|
private List<InscricaoEstadual> inscricoesEstaduais;
|
||||||
|
|
||||||
|
@ -405,6 +409,9 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
||||||
@Column(name = "INDSEGUNDAVIASEGOPCIONAL")
|
@Column(name = "INDSEGUNDAVIASEGOPCIONAL")
|
||||||
private Boolean indSegundaViaSegOpcional;
|
private Boolean indSegundaViaSegOpcional;
|
||||||
|
|
||||||
|
@Column(name = "INDJUROSCREDITO")
|
||||||
|
private Boolean indJurosCredito;
|
||||||
|
|
||||||
@Transient
|
@Transient
|
||||||
@NaoAuditar
|
@NaoAuditar
|
||||||
private Empresa empresaClone;
|
private Empresa empresaClone;
|
||||||
|
@ -1344,6 +1351,14 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
||||||
this.indExigeBpeExcessoBagagem = indExigeBpeExcessoBagagem;
|
this.indExigeBpeExcessoBagagem = indExigeBpeExcessoBagagem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Boolean getIndVendeDeBilheteSemelhante() {
|
||||||
|
return indVendeDeBilheteSemelhante == null ? false: indVendeDeBilheteSemelhante ;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setIndVendeDeBilheteSemelhante(Boolean indVendeDeBilheteSemelhante) {
|
||||||
|
this.indVendeDeBilheteSemelhante = indVendeDeBilheteSemelhante;
|
||||||
|
}
|
||||||
|
|
||||||
public String getUrlBaseEmpresaSeguro() {
|
public String getUrlBaseEmpresaSeguro() {
|
||||||
return urlBaseEmpresaSeguro;
|
return urlBaseEmpresaSeguro;
|
||||||
}
|
}
|
||||||
|
@ -1504,4 +1519,12 @@ public class Empresa implements Serializable, Auditavel<Empresa> {
|
||||||
public void setIndSegundaViaSegOpcional(Boolean indSegundaViaSegOpcional) {
|
public void setIndSegundaViaSegOpcional(Boolean indSegundaViaSegOpcional) {
|
||||||
this.indSegundaViaSegOpcional = 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
|
@OneToOne
|
||||||
@JoinColumn(name = "EMPRESA_ID")
|
@JoinColumn(name = "EMPRESA_ID")
|
||||||
private Empresa empresa;
|
private Empresa empresa;
|
||||||
|
@Column(name = "TARIFAMINIMA")
|
||||||
|
private BigDecimal tarifaMinima;
|
||||||
|
@Column(name = "INDAPLICAVENDA")
|
||||||
|
private Boolean indAplicaVenda;
|
||||||
|
|
||||||
public Integer getTarjetaCreditoId() {
|
public Integer getTarjetaCreditoId() {
|
||||||
return tarjetaCreditoId;
|
return tarjetaCreditoId;
|
||||||
|
@ -119,6 +123,22 @@ public class TarjetaCredito implements Serializable {
|
||||||
this.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
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
final int prime = 31;
|
final int prime = 31;
|
||||||
|
@ -143,4 +163,5 @@ public class TarjetaCredito implements Serializable {
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue