FinanciamentoEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = ['exclude_fields' => ['dataHora'], 'object_rel' => 'idFinanciamento']
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = ['tipoTabela' => ['6' => 'SAC - Saldo Devedor/Parcelas Restantes', '0' => 'SAC - Amortização Capital + Juros', '1' => 'PRICE - Parcelas Constantes', '7' => 'Outros', 'SAC_SALDO_DEVEDOR' => '6', 'SAC_AMORTIZACAO' => '0', 'PRICE' => '1', 'OUTROS' => '7', '__INFO__' => "SAC - Saldo Devedor/Parcelas Restantes: o valor da parcela é calculado dividindo o saldo devedor " . "pelo número de parcelas restantes. Normalmente observa-se um juros crescente. Exemplo de uso: custeio." . "</br></br>" . "SAC - Amortização Capital + Juros: o valor da parcela é calculado somando a amortização com os juros. " . "Normalmente observa-se um juros decrescente. Exemplo de uso: finame." . "</br></br>" . "PRICE - Parcelas Constantes: O valor da parcela é constante ao longo do período do financiamento.\n "]]
- database = \config\Config::DB_DEFAULT
- db_table = 'finan_financiamento'
- pk_field = 'idFinanciamento'
- sanitize = []
- security = ['update' => 'src\models\FinanciamentoSecurity::securityUpdate']
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = ['idEntidadeFornecedor' => ['required' => 'O campo Fornecedor é requerido.'], 'idBanco' => ['required' => 'O campo Banco é requerido.'], 'idContaBancaria' => ['required' => 'O campo Conta Bancária é requerido.'], 'idEntidade' => ['required' => 'O campo Contratante é requerido.'], 'idPlanoConta' => ['required' => 'O campo Plano de Conta é requerido.'], 'destinoFinan' => ['required' => 'O campo Objetivo do Financiamento é requerido.'], 'numeroContrato' => ['required' => 'O campo Número do Contrato é requerido.'], 'descricao' => ['required' => 'O campo Uso do Financiamento Para é requerido.'], 'idMoeda' => ['required' => 'O campo Moeda do Contrato é requerido.'], 'valorTotalFinanciado' => ['required' => 'O campo Total Financiado é requerido.'], 'dataEntradaDinheiro' => ['required' => 'O campo Data Liberação do Dinheiro é requerido.'], 'dataPrimeiraParcela' => ['required' => 'O campo Data Primeira Parcela é requerido.'], 'dataFinalizaContrato' => ['required' => 'O campo Data Finalização do Contrato é requerido.'], 'parcelas' => ['required' => 'O campo Parcelas é requerido.'], 'pagamento' => ['required' => 'O campo Pagamento após 1 parcela é requerido.'], 'juros' => ['required' => 'O campo Taxa Juros Anual Efetiva é requerido.'], 'idTipoPagamento' => ['required' => 'O campo Forma de Pagamento é requerido.'], 'AnoAgricola' => ['required' => 'O campo Ano Safra é requerido.']]
Properties
- $anexoContrato : mixed
- $anexoKml : mixed
- $anoBissexto : mixed
- $dataEntradaDinheiro : mixed
- $dataFinalizaContrato : mixed
- $dataHora : mixed
- $dataPrimeiraParcela : mixed
- $descricao : mixed
- $descricaoGarantia : mixed
- $destinoFinan : mixed
- $fechaPriMes : mixed
- $idAtivo : mixed
- $idBanco : mixed
- $idContaBancaria : mixed
- $idCotacao : mixed
- $idCotacaoMoeda : mixed
- $idEntidade : mixed
- $idEntidadeFornecedor : mixed
- $idFazenda : mixed
- $idFinanciamento : mixed
- $idMoeda : mixed
- $idNegocio : mixed
- $idPlanoConta : mixed
- $idTipoFinanciamento : mixed
- $idUnidadeNegocio : mixed
- $idUsuario : mixed
- $juros : mixed
- $numeroCedula : mixed
- $numeroContrato : mixed
- $obs : mixed
- $pagamento : mixed
- $parcelas : mixed
- $parcelasSemAmortiza : mixed
- $partipantes : mixed
- $saldoDevedor : mixed
- $saldoDevedorAtual : mixed
- $statusFinalizado : mixed
- $tipoGarantia : mixed
- $tipoTabela : mixed
- $totalAnexo : mixed
- $valorFinanciadoAssessoria : mixed
- $valorMoeda : mixed
- $valorMoedaAtual : mixed
- $valorParcela : mixed
- $valorTotal : mixed
- $valorTotalFinanciado : mixed
- $valorTotalPago : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAnexoContrato() : mixed
- Get the value of anexoContrato
- getAnexoKml() : mixed
- Get the value of anexoKml
- getAnoBissexto() : mixed
- Get the value of anoBissexto
- getAuditlog() : mixed
- getConst() : mixed
- getConstObj() : mixed
- getDatabase() : mixed
- getDataEntradaDinheiro() : mixed
- Get the value of dataEntradaDinheiro
- getDataFinalizaContrato() : mixed
- Get the value of dataFinalizaContrato
- getDataHora() : mixed
- Get the value of dataHora
- getDataPrimeiraParcela() : mixed
- Get the value of dataPrimeiraParcela
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescricao() : mixed
- Get the value of descricao
- getDescricaoGarantia() : mixed
- Get the value of descricaoGarantia
- getDestinoFinan() : mixed
- Get the value of destinoFinan
- getFechaPriMes() : mixed
- Get the value of fechaPriMes
- getIdAtivo() : mixed
- Get the value of idAtivo
- getIdBanco() : mixed
- Get the value of idBanco
- getIdContaBancaria() : mixed
- Get the value of idContaBancaria
- getIdCotacao() : mixed
- Get the value of idCotacao
- getIdCotacaoMoeda() : mixed
- Get the value of idCotacaoMoeda
- getIdEntidade() : mixed
- Get the value of idEntidade
- getIdEntidadeFornecedor() : mixed
- Get the value of idEntidadeFornecedor
- getIdFazenda() : mixed
- Get the value of idFazenda
- getIdFinanciamento() : mixed
- Get the value of idFinanciamento
- getIdMoeda() : mixed
- Get the value of idMoeda
- getIdNegocio() : mixed
- Get the value of idNegocio
- getIdPlanoConta() : mixed
- Get the value of idPlanoConta
- getIdTipoFinanciamento() : mixed
- Get the value of idTipoFinanciamento
- getIdUnidadeNegocio() : mixed
- Get the value of idUnidadeNegocio
- getIdUsuario() : mixed
- Get the value of idUsuario
- getJuros() : mixed
- Get the value of juros
- getNumeroCedula() : mixed
- Get the value of numeroCedula
- getNumeroContrato() : mixed
- Get the value of numeroContrato
- getObs() : mixed
- Get the value of obs
- getPagamento() : mixed
- Get the value of pagamento
- getParcelas() : mixed
- Get the value of parcelas
- getParcelasSemAmortiza() : mixed
- Get the value of parcelasSemAmortiza
- getPartipantes() : mixed
- Get the value of partipantes
- getSaldoDevedor() : mixed
- Get the value of saldoDevedor
- getSaldoDevedorAtual() : mixed
- Get the value of saldoDevedorAtual
- getStatusFinalizado() : mixed
- Get the value of statusFinalizado
- getTable() : mixed
- getTipoGarantia() : mixed
- Get the value of tipoGarantia
- getTipoTabela() : mixed
- Get the value of tipoTabela
- getTotalAnexo() : mixed
- Get the value of totalAnexo
- getValorFinanciadoAssessoria() : mixed
- Get the value of valorFinanciadoAssessoria
- getValorMoeda() : mixed
- Get the value of valorMoeda
- getValorMoedaAtual() : mixed
- Get the value of valorMoedaAtual
- getValorParcela() : mixed
- Get the value of valorParcela
- getValorTotal() : mixed
- Get the value of valorTotal
- getValorTotalFinanciado() : mixed
- Get the value of valorTotalFinanciado
- getValorTotalPago() : mixed
- Get the value of valorTotalPago
- hasField() : mixed
- insert() : null|Entity
- insert_or_select() : null|Entity
- Funcao que insere ou seleciona se existe
- insert_or_update() : array<string|int, mixed>
- Funcao que insere ou atualiza uma entidade no banco de dados
- securityDelete() : bool
- securityInsert() : bool
- securitySelect() : array<string|int, mixed>
- securityUpdate() : bool
- setAnexoContrato() : self
- Set the value of anexoContrato
- setAnexoKml() : self
- Set the value of anexoKml
- setAnoBissexto() : self
- Set the value of anoBissexto
- setDataEntradaDinheiro() : self
- Set the value of dataEntradaDinheiro
- setDataFinalizaContrato() : self
- Set the value of dataFinalizaContrato
- setDataHora() : self
- Set the value of dataHora
- setDataPrimeiraParcela() : self
- Set the value of dataPrimeiraParcela
- setDescricao() : self
- Set the value of descricao
- setDescricaoGarantia() : self
- Set the value of descricaoGarantia
- setDestinoFinan() : self
- Set the value of destinoFinan
- setFechaPriMes() : self
- Set the value of fechaPriMes
- setIdAtivo() : self
- Set the value of idAtivo
- setIdBanco() : self
- Set the value of idBanco
- setIdContaBancaria() : self
- Set the value of idContaBancaria
- setIdCotacao() : self
- Set the value of idCotacao
- setIdCotacaoMoeda() : self
- Set the value of idCotacaoMoeda
- setIdEntidade() : self
- Set the value of idEntidade
- setIdEntidadeFornecedor() : self
- Set the value of idEntidadeFornecedor
- setIdFazenda() : self
- Set the value of idFazenda
- setIdFinanciamento() : self
- Set the value of idFinanciamento
- setIdMoeda() : self
- Set the value of idMoeda
- setIdNegocio() : self
- Set the value of idNegocio
- setIdPlanoConta() : self
- Set the value of idPlanoConta
- setIdTipoFinanciamento() : self
- Set the value of idTipoFinanciamento
- setIdUnidadeNegocio() : self
- Set the value of idUnidadeNegocio
- setIdUsuario() : self
- Set the value of idUsuario
- setJuros() : self
- Set the value of juros
- setNumeroCedula() : self
- Set the value of numeroCedula
- setNumeroContrato() : self
- Set the value of numeroContrato
- setObs() : self
- Set the value of obs
- setPagamento() : self
- Set the value of pagamento
- setParcelas() : self
- Set the value of parcelas
- setParcelasSemAmortiza() : self
- Set the value of parcelasSemAmortiza
- setPartipantes() : self
- Set the value of partipantes
- setSaldoDevedor() : self
- Set the value of saldoDevedor
- setSaldoDevedorAtual() : self
- Set the value of saldoDevedorAtual
- setStatusFinalizado() : self
- Set the value of statusFinalizado
- setTipoGarantia() : self
- Set the value of tipoGarantia
- setTipoTabela() : self
- Set the value of tipoTabela
- setTotalAnexo() : self
- Set the value of totalAnexo
- setValorFinanciadoAssessoria() : self
- Set the value of valorFinanciadoAssessoria
- setValorMoeda() : self
- Set the value of valorMoeda
- setValorMoedaAtual() : self
- Set the value of valorMoedaAtual
- setValorParcela() : self
- Set the value of valorParcela
- setValorTotal() : self
- Set the value of valorTotal
- setValorTotalFinanciado() : self
- Set the value of valorTotalFinanciado
- setValorTotalPago() : self
- Set the value of valorTotalPago
- update() : mixed
- A função update pode atualizar uma Entity já instanciada, desde que a chave primária esteja setada, ou pode atualizar uma Entity vazia informando o valor da chave primária no segundo parâmetro (pk_value)
- validateFields() : bool
- where() : Collection
- Rudimentary ORM functions
Constants
auditlog
Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
public
mixed
auditlog
= ['exclude_fields' => ['dataHora'], 'object_rel' => 'idFinanciamento']
const_values
public
mixed
const_values
= ['tipoTabela' => ['6' => 'SAC - Saldo Devedor/Parcelas Restantes', '0' => 'SAC - Amortização Capital + Juros', '1' => 'PRICE - Parcelas Constantes', '7' => 'Outros', 'SAC_SALDO_DEVEDOR' => '6', 'SAC_AMORTIZACAO' => '0', 'PRICE' => '1', 'OUTROS' => '7', '__INFO__' => "SAC - Saldo Devedor/Parcelas Restantes: o valor da parcela é calculado dividindo o saldo devedor " . "pelo número de parcelas restantes. Normalmente observa-se um juros crescente. Exemplo de uso: custeio." . "</br></br>" . "SAC - Amortização Capital + Juros: o valor da parcela é calculado somando a amortização com os juros. " . "Normalmente observa-se um juros decrescente. Exemplo de uso: finame." . "</br></br>" . "PRICE - Parcelas Constantes: O valor da parcela é constante ao longo do período do financiamento.\n "]]
database
public
mixed
database
= \config\Config::DB_DEFAULT
db_table
public
mixed
db_table
= 'finan_financiamento'
pk_field
public
mixed
pk_field
= 'idFinanciamento'
sanitize
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= ['update' => 'src\models\FinanciamentoSecurity::securityUpdate']
tracking
public
mixed
tracking
= true
validations
public
mixed
validations
= ['idEntidadeFornecedor' => ['required' => 'O campo Fornecedor é requerido.'], 'idBanco' => ['required' => 'O campo Banco é requerido.'], 'idContaBancaria' => ['required' => 'O campo Conta Bancária é requerido.'], 'idEntidade' => ['required' => 'O campo Contratante é requerido.'], 'idPlanoConta' => ['required' => 'O campo Plano de Conta é requerido.'], 'destinoFinan' => ['required' => 'O campo Objetivo do Financiamento é requerido.'], 'numeroContrato' => ['required' => 'O campo Número do Contrato é requerido.'], 'descricao' => ['required' => 'O campo Uso do Financiamento Para é requerido.'], 'idMoeda' => ['required' => 'O campo Moeda do Contrato é requerido.'], 'valorTotalFinanciado' => ['required' => 'O campo Total Financiado é requerido.'], 'dataEntradaDinheiro' => ['required' => 'O campo Data Liberação do Dinheiro é requerido.'], 'dataPrimeiraParcela' => ['required' => 'O campo Data Primeira Parcela é requerido.'], 'dataFinalizaContrato' => ['required' => 'O campo Data Finalização do Contrato é requerido.'], 'parcelas' => ['required' => 'O campo Parcelas é requerido.'], 'pagamento' => ['required' => 'O campo Pagamento após 1 parcela é requerido.'], 'juros' => ['required' => 'O campo Taxa Juros Anual Efetiva é requerido.'], 'idTipoPagamento' => ['required' => 'O campo Forma de Pagamento é requerido.'], 'AnoAgricola' => ['required' => 'O campo Ano Safra é requerido.']]
Properties
$anexoContrato
private
mixed
$anexoContrato
$anexoKml
private
mixed
$anexoKml
$anoBissexto
private
mixed
$anoBissexto
$dataEntradaDinheiro
private
mixed
$dataEntradaDinheiro
$dataFinalizaContrato
private
mixed
$dataFinalizaContrato
$dataHora
private
mixed
$dataHora
$dataPrimeiraParcela
private
mixed
$dataPrimeiraParcela
$descricao
private
mixed
$descricao
$descricaoGarantia
private
mixed
$descricaoGarantia
$destinoFinan
private
mixed
$destinoFinan
$fechaPriMes
private
mixed
$fechaPriMes
$idAtivo
private
mixed
$idAtivo
$idBanco
private
mixed
$idBanco
$idContaBancaria
private
mixed
$idContaBancaria
$idCotacao
private
mixed
$idCotacao
$idCotacaoMoeda
private
mixed
$idCotacaoMoeda
$idEntidade
private
mixed
$idEntidade
$idEntidadeFornecedor
private
mixed
$idEntidadeFornecedor
$idFazenda
private
mixed
$idFazenda
$idFinanciamento
private
mixed
$idFinanciamento
$idMoeda
private
mixed
$idMoeda
$idNegocio
private
mixed
$idNegocio
$idPlanoConta
private
mixed
$idPlanoConta
$idTipoFinanciamento
private
mixed
$idTipoFinanciamento
$idUnidadeNegocio
private
mixed
$idUnidadeNegocio
$idUsuario
private
mixed
$idUsuario
$juros
private
mixed
$juros
$numeroCedula
private
mixed
$numeroCedula
$numeroContrato
private
mixed
$numeroContrato
$obs
private
mixed
$obs
$pagamento
private
mixed
$pagamento
$parcelas
private
mixed
$parcelas
$parcelasSemAmortiza
private
mixed
$parcelasSemAmortiza
$partipantes
private
mixed
$partipantes
$saldoDevedor
private
mixed
$saldoDevedor
$saldoDevedorAtual
private
mixed
$saldoDevedorAtual
$statusFinalizado
private
mixed
$statusFinalizado
$tipoGarantia
private
mixed
$tipoGarantia
$tipoTabela
private
mixed
$tipoTabela
$totalAnexo
private
mixed
$totalAnexo
$valorFinanciadoAssessoria
private
mixed
$valorFinanciadoAssessoria
$valorMoeda
private
mixed
$valorMoeda
$valorMoedaAtual
private
mixed
$valorMoedaAtual
$valorParcela
private
mixed
$valorParcela
$valorTotal
private
mixed
$valorTotal
$valorTotalFinanciado
private
mixed
$valorTotalFinanciado
$valorTotalPago
private
mixed
$valorTotalPago
Methods
__construct()
public
__construct([array<string|int, mixed> $values = [] ]) : mixed
Parameters
- $values : array<string|int, mixed> = []
delete()
public
delete(mixed $motivo) : mixed
Parameters
- $motivo : mixed
delete_where()
public
static delete_where(mixed $motivo[, mixed $where = [] ]) : mixed
Parameters
- $motivo : mixed
- $where : mixed = []
getAnexoContrato()
Get the value of anexoContrato
public
getAnexoContrato() : mixed
getAnexoKml()
Get the value of anexoKml
public
getAnexoKml() : mixed
getAnoBissexto()
Get the value of anoBissexto
public
getAnoBissexto() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getConst()
public
static getConst(string $field[, mixed $const_value = null ]) : mixed
Parameters
- $field : string
- $const_value : mixed = null
getConstObj()
public
static getConstObj(string $field[, mixed $const_value = null ]) : mixed
Parameters
- $field : string
- $const_value : mixed = null
getDatabase()
public
getDatabase() : mixed
getDataEntradaDinheiro()
Get the value of dataEntradaDinheiro
public
getDataEntradaDinheiro() : mixed
getDataFinalizaContrato()
Get the value of dataFinalizaContrato
public
getDataFinalizaContrato() : mixed
getDataHora()
Get the value of dataHora
public
getDataHora() : mixed
getDataPrimeiraParcela()
Get the value of dataPrimeiraParcela
public
getDataPrimeiraParcela() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescricao()
Get the value of descricao
public
getDescricao() : mixed
getDescricaoGarantia()
Get the value of descricaoGarantia
public
getDescricaoGarantia() : mixed
getDestinoFinan()
Get the value of destinoFinan
public
getDestinoFinan() : mixed
getFechaPriMes()
Get the value of fechaPriMes
public
getFechaPriMes() : mixed
getIdAtivo()
Get the value of idAtivo
public
getIdAtivo() : mixed
getIdBanco()
Get the value of idBanco
public
getIdBanco() : mixed
getIdContaBancaria()
Get the value of idContaBancaria
public
getIdContaBancaria() : mixed
getIdCotacao()
Get the value of idCotacao
public
getIdCotacao() : mixed
getIdCotacaoMoeda()
Get the value of idCotacaoMoeda
public
getIdCotacaoMoeda() : mixed
getIdEntidade()
Get the value of idEntidade
public
getIdEntidade() : mixed
getIdEntidadeFornecedor()
Get the value of idEntidadeFornecedor
public
getIdEntidadeFornecedor() : mixed
getIdFazenda()
Get the value of idFazenda
public
getIdFazenda() : mixed
getIdFinanciamento()
Get the value of idFinanciamento
public
getIdFinanciamento() : mixed
getIdMoeda()
Get the value of idMoeda
public
getIdMoeda() : mixed
getIdNegocio()
Get the value of idNegocio
public
getIdNegocio() : mixed
getIdPlanoConta()
Get the value of idPlanoConta
public
getIdPlanoConta() : mixed
getIdTipoFinanciamento()
Get the value of idTipoFinanciamento
public
getIdTipoFinanciamento() : mixed
getIdUnidadeNegocio()
Get the value of idUnidadeNegocio
public
getIdUnidadeNegocio() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getJuros()
Get the value of juros
public
getJuros() : mixed
getNumeroCedula()
Get the value of numeroCedula
public
getNumeroCedula() : mixed
getNumeroContrato()
Get the value of numeroContrato
public
getNumeroContrato() : mixed
getObs()
Get the value of obs
public
getObs() : mixed
getPagamento()
Get the value of pagamento
public
getPagamento() : mixed
getParcelas()
Get the value of parcelas
public
getParcelas() : mixed
getParcelasSemAmortiza()
Get the value of parcelasSemAmortiza
public
getParcelasSemAmortiza() : mixed
getPartipantes()
Get the value of partipantes
public
getPartipantes() : mixed
getSaldoDevedor()
Get the value of saldoDevedor
public
getSaldoDevedor() : mixed
getSaldoDevedorAtual()
Get the value of saldoDevedorAtual
public
getSaldoDevedorAtual() : mixed
getStatusFinalizado()
Get the value of statusFinalizado
public
getStatusFinalizado() : mixed
getTable()
public
getTable() : mixed
getTipoGarantia()
Get the value of tipoGarantia
public
getTipoGarantia() : mixed
getTipoTabela()
Get the value of tipoTabela
public
getTipoTabela() : mixed
getTotalAnexo()
Get the value of totalAnexo
public
getTotalAnexo() : mixed
getValorFinanciadoAssessoria()
Get the value of valorFinanciadoAssessoria
public
getValorFinanciadoAssessoria() : mixed
getValorMoeda()
Get the value of valorMoeda
public
getValorMoeda() : mixed
getValorMoedaAtual()
Get the value of valorMoedaAtual
public
getValorMoedaAtual() : mixed
getValorParcela()
Get the value of valorParcela
public
getValorParcela() : mixed
getValorTotal()
Get the value of valorTotal
public
getValorTotal() : mixed
getValorTotalFinanciado()
Get the value of valorTotalFinanciado
public
getValorTotalFinanciado() : mixed
getValorTotalPago()
Get the value of valorTotalPago
public
getValorTotalPago() : mixed
hasField()
public
static hasField(mixed $field) : mixed
Parameters
- $field : mixed
insert()
public
insert() : null|Entity
Return values
null|Entityinsert_or_select()
Funcao que insere ou seleciona se existe
public
insert_or_select([mixed $where = [] ]) : null|Entity
Parameters
- $where : mixed = []
Return values
null|Entityinsert_or_update()
Funcao que insere ou atualiza uma entidade no banco de dados
public
insert_or_update([mixed $where = [] ][, mixed $update_fields = ['*'] ]) : array<string|int, mixed>
Parameters
- $where : mixed = []
- $update_fields : mixed = ['*']
Return values
array<string|int, mixed>securityDelete()
public
securityDelete(mixed $table, mixed $where) : bool
Parameters
- $table : mixed
- $where : mixed
Return values
boolsecurityInsert()
public
securityInsert(mixed $fields) : bool
Parameters
- $fields : mixed
Return values
bool —return 'true' if the security function didn't find any security issue and 'false' otherwise
securitySelect()
public
securitySelect(mixed $table, mixed $fields, mixed $where) : array<string|int, mixed>
Parameters
- $table : mixed
- $fields : mixed
- $where : mixed
Return values
array<string|int, mixed> —return an array with information to be appended in the SQL select
securityUpdate()
public
securityUpdate(mixed $fields, mixed $where) : bool
Parameters
- $fields : mixed
- $where : mixed
Return values
bool —return 'true' if the security function didn't find any security issue and 'false' otherwise
setAnexoContrato()
Set the value of anexoContrato
public
setAnexoContrato(mixed $anexoContrato) : self
Parameters
- $anexoContrato : mixed
Return values
selfsetAnexoKml()
Set the value of anexoKml
public
setAnexoKml(mixed $anexoKml) : self
Parameters
- $anexoKml : mixed
Return values
selfsetAnoBissexto()
Set the value of anoBissexto
public
setAnoBissexto(mixed $anoBissexto) : self
Parameters
- $anoBissexto : mixed
Return values
selfsetDataEntradaDinheiro()
Set the value of dataEntradaDinheiro
public
setDataEntradaDinheiro(mixed $dataEntradaDinheiro) : self
Parameters
- $dataEntradaDinheiro : mixed
Return values
selfsetDataFinalizaContrato()
Set the value of dataFinalizaContrato
public
setDataFinalizaContrato(mixed $dataFinalizaContrato) : self
Parameters
- $dataFinalizaContrato : mixed
Return values
selfsetDataHora()
Set the value of dataHora
public
setDataHora(mixed $dataHora) : self
Parameters
- $dataHora : mixed
Return values
selfsetDataPrimeiraParcela()
Set the value of dataPrimeiraParcela
public
setDataPrimeiraParcela(mixed $dataPrimeiraParcela) : self
Parameters
- $dataPrimeiraParcela : mixed
Return values
selfsetDescricao()
Set the value of descricao
public
setDescricao(mixed $descricao) : self
Parameters
- $descricao : mixed
Return values
selfsetDescricaoGarantia()
Set the value of descricaoGarantia
public
setDescricaoGarantia(mixed $descricaoGarantia) : self
Parameters
- $descricaoGarantia : mixed
Return values
selfsetDestinoFinan()
Set the value of destinoFinan
public
setDestinoFinan(mixed $destinoFinan) : self
Parameters
- $destinoFinan : mixed
Return values
selfsetFechaPriMes()
Set the value of fechaPriMes
public
setFechaPriMes(mixed $fechaPriMes) : self
Parameters
- $fechaPriMes : mixed
Return values
selfsetIdAtivo()
Set the value of idAtivo
public
setIdAtivo(mixed $idAtivo) : self
Parameters
- $idAtivo : mixed
Return values
selfsetIdBanco()
Set the value of idBanco
public
setIdBanco(mixed $idBanco) : self
Parameters
- $idBanco : mixed
Return values
selfsetIdContaBancaria()
Set the value of idContaBancaria
public
setIdContaBancaria(mixed $idContaBancaria) : self
Parameters
- $idContaBancaria : mixed
Return values
selfsetIdCotacao()
Set the value of idCotacao
public
setIdCotacao(mixed $idCotacao) : self
Parameters
- $idCotacao : mixed
Return values
selfsetIdCotacaoMoeda()
Set the value of idCotacaoMoeda
public
setIdCotacaoMoeda(mixed $idCotacaoMoeda) : self
Parameters
- $idCotacaoMoeda : mixed
Return values
selfsetIdEntidade()
Set the value of idEntidade
public
setIdEntidade(mixed $idEntidade) : self
Parameters
- $idEntidade : mixed
Return values
selfsetIdEntidadeFornecedor()
Set the value of idEntidadeFornecedor
public
setIdEntidadeFornecedor(mixed $idEntidadeFornecedor) : self
Parameters
- $idEntidadeFornecedor : mixed
Return values
selfsetIdFazenda()
Set the value of idFazenda
public
setIdFazenda(mixed $idFazenda) : self
Parameters
- $idFazenda : mixed
Return values
selfsetIdFinanciamento()
Set the value of idFinanciamento
public
setIdFinanciamento(mixed $idFinanciamento) : self
Parameters
- $idFinanciamento : mixed
Return values
selfsetIdMoeda()
Set the value of idMoeda
public
setIdMoeda(mixed $idMoeda) : self
Parameters
- $idMoeda : mixed
Return values
selfsetIdNegocio()
Set the value of idNegocio
public
setIdNegocio(mixed $idNegocio) : self
Parameters
- $idNegocio : mixed
Return values
selfsetIdPlanoConta()
Set the value of idPlanoConta
public
setIdPlanoConta(mixed $idPlanoConta) : self
Parameters
- $idPlanoConta : mixed
Return values
selfsetIdTipoFinanciamento()
Set the value of idTipoFinanciamento
public
setIdTipoFinanciamento(mixed $idTipoFinanciamento) : self
Parameters
- $idTipoFinanciamento : mixed
Return values
selfsetIdUnidadeNegocio()
Set the value of idUnidadeNegocio
public
setIdUnidadeNegocio(mixed $idUnidadeNegocio) : self
Parameters
- $idUnidadeNegocio : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetJuros()
Set the value of juros
public
setJuros(mixed $juros) : self
Parameters
- $juros : mixed
Return values
selfsetNumeroCedula()
Set the value of numeroCedula
public
setNumeroCedula(mixed $numeroCedula) : self
Parameters
- $numeroCedula : mixed
Return values
selfsetNumeroContrato()
Set the value of numeroContrato
public
setNumeroContrato(mixed $numeroContrato) : self
Parameters
- $numeroContrato : mixed
Return values
selfsetObs()
Set the value of obs
public
setObs(mixed $obs) : self
Parameters
- $obs : mixed
Return values
selfsetPagamento()
Set the value of pagamento
public
setPagamento(mixed $pagamento) : self
Parameters
- $pagamento : mixed
Return values
selfsetParcelas()
Set the value of parcelas
public
setParcelas(mixed $parcelas) : self
Parameters
- $parcelas : mixed
Return values
selfsetParcelasSemAmortiza()
Set the value of parcelasSemAmortiza
public
setParcelasSemAmortiza(mixed $parcelasSemAmortiza) : self
Parameters
- $parcelasSemAmortiza : mixed
Return values
selfsetPartipantes()
Set the value of partipantes
public
setPartipantes(mixed $partipantes) : self
Parameters
- $partipantes : mixed
Return values
selfsetSaldoDevedor()
Set the value of saldoDevedor
public
setSaldoDevedor(mixed $saldoDevedor) : self
Parameters
- $saldoDevedor : mixed
Return values
selfsetSaldoDevedorAtual()
Set the value of saldoDevedorAtual
public
setSaldoDevedorAtual(mixed $saldoDevedorAtual) : self
Parameters
- $saldoDevedorAtual : mixed
Return values
selfsetStatusFinalizado()
Set the value of statusFinalizado
public
setStatusFinalizado(mixed $statusFinalizado) : self
Parameters
- $statusFinalizado : mixed
Return values
selfsetTipoGarantia()
Set the value of tipoGarantia
public
setTipoGarantia(mixed $tipoGarantia) : self
Parameters
- $tipoGarantia : mixed
Return values
selfsetTipoTabela()
Set the value of tipoTabela
public
setTipoTabela(mixed $tipoTabela) : self
Parameters
- $tipoTabela : mixed
Return values
selfsetTotalAnexo()
Set the value of totalAnexo
public
setTotalAnexo(mixed $totalAnexo) : self
Parameters
- $totalAnexo : mixed
Return values
selfsetValorFinanciadoAssessoria()
Set the value of valorFinanciadoAssessoria
public
setValorFinanciadoAssessoria(mixed $valorFinanciadoAssessoria) : self
Parameters
- $valorFinanciadoAssessoria : mixed
Return values
selfsetValorMoeda()
Set the value of valorMoeda
public
setValorMoeda(mixed $valorMoeda) : self
Parameters
- $valorMoeda : mixed
Return values
selfsetValorMoedaAtual()
Set the value of valorMoedaAtual
public
setValorMoedaAtual(mixed $valorMoedaAtual) : self
Parameters
- $valorMoedaAtual : mixed
Return values
selfsetValorParcela()
Set the value of valorParcela
public
setValorParcela(mixed $valorParcela) : self
Parameters
- $valorParcela : mixed
Return values
selfsetValorTotal()
Set the value of valorTotal
public
setValorTotal(mixed $valorTotal) : self
Parameters
- $valorTotal : mixed
Return values
selfsetValorTotalFinanciado()
Set the value of valorTotalFinanciado
public
setValorTotalFinanciado(mixed $valorTotalFinanciado) : self
Parameters
- $valorTotalFinanciado : mixed
Return values
selfsetValorTotalPago()
Set the value of valorTotalPago
public
setValorTotalPago(mixed $valorTotalPago) : self
Parameters
- $valorTotalPago : mixed
Return values
selfupdate()
A função update pode atualizar uma Entity já instanciada, desde que a chave primária esteja setada, ou pode atualizar uma Entity vazia informando o valor da chave primária no segundo parâmetro (pk_value)
public
update(array<string|int, mixed> $values[, mixed $pk_value = null ]) : mixed
Parameters
- $values : array<string|int, mixed>
- $pk_value : mixed = null
validateFields()
public
validateFields([array<string|int, mixed> $fields = [] ]) : bool
Parameters
- $fields : array<string|int, mixed> = []
Return values
boolwhere()
Rudimentary ORM functions
public
static where([mixed $where = [] ][, mixed $select = '*' ]) : Collection
Parameters
- $where : mixed = []
- $select : mixed = '*'