MovimentacaoBancariaChequeEntity
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_cheques'
- 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 = []
Properties
- $compensado : mixed
- $cpf : mixed
- $data : mixed
- $dataExtratoConcilia : mixed
- $dataFITID : mixed
- $dataHora : mixed
- $favorecido : mixed
- $idCheque : mixed
- $idContaBancaria : mixed
- $idMovBanco : mixed
- $idUsuario : mixed
- $numeroDoc : mixed
- $valor : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAuditlog() : mixed
- getCompensado() : mixed
- Get the value of compensado
- getConst() : mixed
- getConstObj() : mixed
- getCpf() : mixed
- Get the value of cpf
- 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
- getDBDriver() : mixed
- getDBTable() : mixed
- getFavorecido() : mixed
- Get the value of favorecido
- getIdCheque() : mixed
- Get the value of idCheque
- getIdContaBancaria() : mixed
- Get the value of idContaBancaria
- getIdMovBanco() : mixed
- Get the value of idMovBanco
- getIdUsuario() : mixed
- Get the value of idUsuario
- getNumeroDoc() : mixed
- Get the value of numeroDoc
- getTable() : mixed
- getValor() : mixed
- Get the value of valor
- 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
- setCpf() : self
- Set the value of cpf
- 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
- setFavorecido() : self
- Set the value of favorecido
- setIdCheque() : self
- Set the value of idCheque
- setIdContaBancaria() : self
- Set the value of idContaBancaria
- setIdMovBanco() : self
- Set the value of idMovBanco
- setIdUsuario() : self
- Set the value of idUsuario
- setNumeroDoc() : self
- Set the value of numeroDoc
- setValor() : self
- Set the value of valor
- 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
db_table
public
mixed
db_table
= 'finan_mov_bancaria_cheques'
pk_field
public
mixed
pk_field
= 'idMovBanco'
sanitize
public
mixed
sanitize
= []
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']
tracking
public
mixed
tracking
= true
validations
public
mixed
validations
= []
Properties
$compensado
private
mixed
$compensado
$cpf
private
mixed
$cpf
$data
private
mixed
$data
$dataExtratoConcilia
private
mixed
$dataExtratoConcilia
$dataFITID
private
mixed
$dataFITID
$dataHora
private
mixed
$dataHora
$favorecido
private
mixed
$favorecido
$idCheque
private
mixed
$idCheque
$idContaBancaria
private
mixed
$idContaBancaria
$idMovBanco
private
mixed
$idMovBanco
$idUsuario
private
mixed
$idUsuario
$numeroDoc
private
mixed
$numeroDoc
$valor
private
mixed
$valor
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
getCompensado()
Get the value of compensado
public
getCompensado() : mixed
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
getCpf()
Get the value of cpf
public
getCpf() : mixed
getData()
Get the value of data
public
getData() : mixed
getDatabase()
public
getDatabase() : mixed
getDataExtratoConcilia()
Get the value of dataExtratoConcilia
public
getDataExtratoConcilia() : mixed
getDataFITID()
Get the value of dataFITID
public
getDataFITID() : mixed
getDataHora()
Get the value of dataHora
public
getDataHora() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getFavorecido()
Get the value of favorecido
public
getFavorecido() : mixed
getIdCheque()
Get the value of idCheque
public
getIdCheque() : mixed
getIdContaBancaria()
Get the value of idContaBancaria
public
getIdContaBancaria() : mixed
getIdMovBanco()
Get the value of idMovBanco
public
getIdMovBanco() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getNumeroDoc()
Get the value of numeroDoc
public
getNumeroDoc() : mixed
getTable()
public
getTable() : mixed
getValor()
Get the value of valor
public
getValor() : 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
setCompensado()
Set the value of compensado
public
setCompensado(mixed $compensado) : self
Parameters
- $compensado : mixed
Return values
selfsetCpf()
Set the value of cpf
public
setCpf(mixed $cpf) : self
Parameters
- $cpf : mixed
Return values
selfsetData()
Set the value of data
public
setData(mixed $data) : self
Parameters
- $data : mixed
Return values
selfsetDataExtratoConcilia()
Set the value of dataExtratoConcilia
public
setDataExtratoConcilia(mixed $dataExtratoConcilia) : self
Parameters
- $dataExtratoConcilia : mixed
Return values
selfsetDataFITID()
Set the value of dataFITID
public
setDataFITID(mixed $dataFITID) : self
Parameters
- $dataFITID : mixed
Return values
selfsetDataHora()
Set the value of dataHora
public
setDataHora(mixed $dataHora) : self
Parameters
- $dataHora : mixed
Return values
selfsetFavorecido()
Set the value of favorecido
public
setFavorecido(mixed $favorecido) : self
Parameters
- $favorecido : mixed
Return values
selfsetIdCheque()
Set the value of idCheque
public
setIdCheque(mixed $idCheque) : self
Parameters
- $idCheque : mixed
Return values
selfsetIdContaBancaria()
Set the value of idContaBancaria
public
setIdContaBancaria(mixed $idContaBancaria) : self
Parameters
- $idContaBancaria : mixed
Return values
selfsetIdMovBanco()
Set the value of idMovBanco
public
setIdMovBanco(mixed $idMovBanco) : self
Parameters
- $idMovBanco : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetNumeroDoc()
Set the value of numeroDoc
public
setNumeroDoc(mixed $numeroDoc) : self
Parameters
- $numeroDoc : mixed
Return values
selfsetValor()
Set the value of valor
public
setValor(mixed $valor) : self
Parameters
- $valor : 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 = '*'