Documentation

MovimentacaoBancariaEntity extends Entity
in package

Table of Contents

Constants

auditlog  = ['exclude_fields' => ['dataHora']]
Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
const_values  = []
database  = \config\Config::DB_DEFAULT
db_table  = 'finan_mov_bancaria'
pk_field  = 'idMovBanco'
sanitize  = []
security  = ['select' => 'core\EntitySecurity::securitySelect', 'delete' => 'core\EntitySecurity::securityDelete', 'update' => 'core\EntitySecurity::securityUpdate', 'insert' => 'core\EntitySecurity::securityInsert']
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
tracking  = true
validations  = ['data' => ['required' => 'O campo Data Transfêrencia é obrigatório.', 'date' => 'O campo Data Transfêrencia não tem data válida.'], 'valorMov' => ['required' => 'O campo Valor Movimento é obrigatório.'], 'idContaBancariaOrigem' => ['required' => 'O campo Conta Bancária Débito é obrigatório.'], 'idContaBancariaDestino' => ['required' => 'O campo Conta Bancária Crédito é obrigatório.'], 'idTipoPagamento' => ['required' => 'O campo Forma de Pagamento é obrigatório.'], 'descricaoMovimento' => ['required' => 'O campo Descrição Movimento é obrigatório.']]

Properties

$compensado  : mixed
$conciliadoBanco  : mixed
$data  : mixed
$dataExtratoConcilia  : mixed
$dataFITID  : mixed
$dataHora  : mixed
$dataHoraJustifica  : mixed
$descricaoMovimento  : mixed
$idContaBancaria  : mixed
$idContasPagarItem  : mixed
$idContasReceberItem  : mixed
$idEntidade  : mixed
$idMovBanco  : mixed
$idMovExtrato  : mixed
$idPlanoConta  : mixed
$idRendJuros  : mixed
$idTipoPagamento  : mixed
$idTransferencia  : mixed
$idUsuario  : mixed
$idUsuarioJustifica  : mixed
$numeroDoc  : mixed
$obsJustifica  : mixed
$saldoDia  : mixed
$valorMov  : mixed

Methods

__construct()  : mixed
delete()  : mixed
delete_where()  : mixed
getAuditlog()  : mixed
getCompensado()  : mixed
Get the value of compensado
getConciliadoBanco()  : mixed
Get the value of conciliadoBanco
getConst()  : mixed
getConstObj()  : mixed
getData()  : mixed
Get the value of data
getDatabase()  : mixed
getDataExtratoConcilia()  : mixed
Get the value of dataExtratoConcilia
getDataFITID()  : mixed
Get the value of dataFITID
getDataHora()  : mixed
Get the value of dataHora
getDataHoraJustifica()  : mixed
Get the value of dataHoraJustifica
getDBDriver()  : mixed
getDBTable()  : mixed
getDescricaoMovimento()  : mixed
Get the value of descricaoMovimento
getIdContaBancaria()  : mixed
Get the value of idContaBancaria
getIdContasPagarItem()  : mixed
Get the value of idContasPagarItem
getIdContasReceberItem()  : mixed
Get the value of idContasReceberItem
getIdEntidade()  : mixed
Get the value of idEntidade
getIdMovBanco()  : mixed
Get the value of idMovBanco
getIdMovExtrato()  : mixed
Get the value of idMovExtrato
getIdPlanoConta()  : mixed
Get the value of idPlanoConta
getIdRendJuros()  : mixed
Get the value of idRendJuros
getIdTipoPagamento()  : mixed
Get the value of idTipoPagamento
getIdTransferencia()  : mixed
Get the value of idTransferencia
getIdUsuario()  : mixed
Get the value of idUsuario
getIdUsuarioJustifica()  : mixed
Get the value of idUsuarioJustifica
getNumeroDoc()  : mixed
Get the value of numeroDoc
getObsJustifica()  : mixed
Get the value of obsJustifica
getSaldoDia()  : mixed
Get the value of saldoDia
getTable()  : mixed
getValorMov()  : mixed
Get the value of valorMov
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
setCompensado()  : self
Set the value of compensado
setConciliadoBanco()  : self
Set the value of conciliadoBanco
setData()  : self
Set the value of data
setDataExtratoConcilia()  : self
Set the value of dataExtratoConcilia
setDataFITID()  : self
Set the value of dataFITID
setDataHora()  : self
Set the value of dataHora
setDataHoraJustifica()  : self
Set the value of dataHoraJustifica
setDescricaoMovimento()  : self
Set the value of descricaoMovimento
setIdContaBancaria()  : self
Set the value of idContaBancaria
setIdContasPagarItem()  : self
Set the value of idContasPagarItem
setIdContasReceberItem()  : self
Set the value of idContasReceberItem
setIdEntidade()  : self
Set the value of idEntidade
setIdMovBanco()  : self
Set the value of idMovBanco
setIdMovExtrato()  : self
Set the value of idMovExtrato
setIdPlanoConta()  : self
Set the value of idPlanoConta
setIdRendJuros()  : self
Set the value of idRendJuros
setIdTipoPagamento()  : self
Set the value of idTipoPagamento
setIdTransferencia()  : self
Set the value of idTransferencia
setIdUsuario()  : self
Set the value of idUsuario
setIdUsuarioJustifica()  : self
Set the value of idUsuarioJustifica
setNumeroDoc()  : self
Set the value of numeroDoc
setObsJustifica()  : self
Set the value of obsJustifica
setSaldoDia()  : self
Set the value of saldoDia
setValorMov()  : self
Set the value of valorMov
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']]

const_values

public mixed const_values = []

database

public mixed database = \config\Config::DB_DEFAULT

security

Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>

public mixed security = ['select' => 'core\EntitySecurity::securitySelect', 'delete' => 'core\EntitySecurity::securityDelete', 'update' => 'core\EntitySecurity::securityUpdate', 'insert' => 'core\EntitySecurity::securityInsert']

validations

public mixed validations = ['data' => ['required' => 'O campo Data Transfêrencia é obrigatório.', 'date' => 'O campo Data Transfêrencia não tem data válida.'], 'valorMov' => ['required' => 'O campo Valor Movimento é obrigatório.'], 'idContaBancariaOrigem' => ['required' => 'O campo Conta Bancária Débito é obrigatório.'], 'idContaBancariaDestino' => ['required' => 'O campo Conta Bancária Crédito é obrigatório.'], 'idTipoPagamento' => ['required' => 'O campo Forma de Pagamento é obrigatório.'], 'descricaoMovimento' => ['required' => 'O campo Descrição Movimento é obrigatório.']]

Properties

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 = []

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

getDBDriver()

public static getDBDriver() : mixed

getDBTable()

public static getDBTable() : mixed

getTable()

public getTable() : mixed

hasField()

public static hasField(mixed $field) : mixed
Parameters
$field : mixed

insert_or_select()

Funcao que insere ou seleciona se existe

public insert_or_select([mixed $where = [] ]) : null|Entity
Parameters
$where : mixed = []
Return values
null|Entity

insert_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
bool

securityInsert()

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

setCompensado()

Set the value of compensado

public setCompensado(mixed $compensado) : self
Parameters
$compensado : mixed
Return values
self

setConciliadoBanco()

Set the value of conciliadoBanco

public setConciliadoBanco(mixed $conciliadoBanco) : self
Parameters
$conciliadoBanco : mixed
Return values
self

setData()

Set the value of data

public setData(mixed $data) : self
Parameters
$data : mixed
Return values
self

setDataExtratoConcilia()

Set the value of dataExtratoConcilia

public setDataExtratoConcilia(mixed $dataExtratoConcilia) : self
Parameters
$dataExtratoConcilia : mixed
Return values
self

setDataFITID()

Set the value of dataFITID

public setDataFITID(mixed $dataFITID) : self
Parameters
$dataFITID : mixed
Return values
self

setDataHora()

Set the value of dataHora

public setDataHora(mixed $dataHora) : self
Parameters
$dataHora : mixed
Return values
self

setDataHoraJustifica()

Set the value of dataHoraJustifica

public setDataHoraJustifica(mixed $dataHoraJustifica) : self
Parameters
$dataHoraJustifica : mixed
Return values
self

setDescricaoMovimento()

Set the value of descricaoMovimento

public setDescricaoMovimento(mixed $descricaoMovimento) : self
Parameters
$descricaoMovimento : mixed
Return values
self

setIdContaBancaria()

Set the value of idContaBancaria

public setIdContaBancaria(mixed $idContaBancaria) : self
Parameters
$idContaBancaria : mixed
Return values
self

setIdContasPagarItem()

Set the value of idContasPagarItem

public setIdContasPagarItem(mixed $idContasPagarItem) : self
Parameters
$idContasPagarItem : mixed
Return values
self

setIdContasReceberItem()

Set the value of idContasReceberItem

public setIdContasReceberItem(mixed $idContasReceberItem) : self
Parameters
$idContasReceberItem : mixed
Return values
self

setIdEntidade()

Set the value of idEntidade

public setIdEntidade(mixed $idEntidade) : self
Parameters
$idEntidade : mixed
Return values
self

setIdMovBanco()

Set the value of idMovBanco

public setIdMovBanco(mixed $idMovBanco) : self
Parameters
$idMovBanco : mixed
Return values
self

setIdMovExtrato()

Set the value of idMovExtrato

public setIdMovExtrato(mixed $idMovExtrato) : self
Parameters
$idMovExtrato : mixed
Return values
self

setIdPlanoConta()

Set the value of idPlanoConta

public setIdPlanoConta(mixed $idPlanoConta) : self
Parameters
$idPlanoConta : mixed
Return values
self

setIdRendJuros()

Set the value of idRendJuros

public setIdRendJuros(mixed $idRendJuros) : self
Parameters
$idRendJuros : mixed
Return values
self

setIdTipoPagamento()

Set the value of idTipoPagamento

public setIdTipoPagamento(mixed $idTipoPagamento) : self
Parameters
$idTipoPagamento : mixed
Return values
self

setIdTransferencia()

Set the value of idTransferencia

public setIdTransferencia(mixed $idTransferencia) : self
Parameters
$idTransferencia : mixed
Return values
self

setIdUsuario()

Set the value of idUsuario

public setIdUsuario(mixed $idUsuario) : self
Parameters
$idUsuario : mixed
Return values
self

setIdUsuarioJustifica()

Set the value of idUsuarioJustifica

public setIdUsuarioJustifica(mixed $idUsuarioJustifica) : self
Parameters
$idUsuarioJustifica : mixed
Return values
self

setNumeroDoc()

Set the value of numeroDoc

public setNumeroDoc(mixed $numeroDoc) : self
Parameters
$numeroDoc : mixed
Return values
self

setObsJustifica()

Set the value of obsJustifica

public setObsJustifica(mixed $obsJustifica) : self
Parameters
$obsJustifica : mixed
Return values
self

setSaldoDia()

Set the value of saldoDia

public setSaldoDia(mixed $saldoDia) : self
Parameters
$saldoDia : mixed
Return values
self

setValorMov()

Set the value of valorMov

public setValorMov(mixed $valorMov) : self
Parameters
$valorMov : mixed
Return values
self

update()

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
bool

where()

Rudimentary ORM functions

public static where([mixed $where = [] ][, mixed $select = '*' ]) : Collection
Parameters
$where : mixed = []
$select : mixed = '*'
Return values
Collection

        
On this page

Search results