ChequeTerceiroEntity
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_cheques_terceiro'
- pk_field = 'idChequeTerceiro'
- sanitize = []
- security = ['delete' => 'src\models\ChequeTerceiroSecurity::securityDelete', 'update' => 'src\models\ChequeTerceiroSecurity::securityUpdate']
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = ['idEntidadeChequeCheque' => ['required' => 'O campo Entidade do Cheque é requerido.'], 'idStatusCheque' => ['required' => 'O campo Status é requerido.'], 'IdBanco' => ['required' => 'O campo Banco é requerido.'], 'agencia' => ['required' => 'O campo Agencia é requerido.'], 'contaCorrente' => ['required' => 'O campo Conta Corrente é requerido.'], 'numeroCheque' => ['required' => 'O campo Número Conta é requerido.'], 'valor' => ['required' => 'O campo Valor é requerido.'], 'dataPrevista' => ['required' => 'O campo Data Prevista Compensação é requerido.'], 'dataRecebimento' => ['required' => 'O campo Data Recebimento é requerido.']]
Properties
- $agencia : mixed
- $codigoCMC7 : mixed
- $contaCorrente : mixed
- $dataHora : mixed
- $dataPrevista : mixed
- $dataRecebimento : mixed
- $descricao : mixed
- $idAcertoPagamento : mixed
- $idAcertoRecebimento : mixed
- $IdBanco : mixed
- $idChequeTerceiro : mixed
- $idEntidadeCheque : mixed
- $idEntidadeCliente : mixed
- $idStatusCheque : mixed
- $idUsuario : mixed
- $numeroCheque : mixed
- $valor : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAgencia() : mixed
- Get the value of agencia
- getAuditlog() : mixed
- getCodigoCMC7() : mixed
- Get the value of codigoCMC7
- getConst() : mixed
- getConstObj() : mixed
- getContaCorrente() : mixed
- Get the value of contaCorrente
- getDatabase() : mixed
- getDataHora() : mixed
- Get the value of dataHora
- getDataPrevista() : mixed
- Get the value of dataPrevista
- getDataRecebimento() : mixed
- Get the value of dataRecebimento
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescricao() : mixed
- Get the value of descricao
- getIdAcertoPagamento() : mixed
- Get the value of idAcertoPagamento
- getIdAcertoRecebimento() : mixed
- Get the value of idAcertoRecebimento
- getIdBanco() : mixed
- Get the value of IdBanco
- getIdChequeTerceiro() : mixed
- Get the value of idChequeTerceiro
- getIdEntidadeCheque() : mixed
- Get the value of idEntidadeCheque
- getIdEntidadeCliente() : mixed
- Get the value of idEntidadeCliente
- getIdStatusCheque() : mixed
- Get the value of idStatusCheque
- getIdUsuario() : mixed
- Get the value of idUsuario
- getNumeroCheque() : mixed
- Get the value of numeroCheque
- 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
- setAgencia() : self
- Set the value of agencia
- setCodigoCMC7() : self
- Set the value of codigoCMC7
- setContaCorrente() : self
- Set the value of contaCorrente
- setDataHora() : self
- Set the value of dataHora
- setDataPrevista() : self
- Set the value of dataPrevista
- setDataRecebimento() : self
- Set the value of dataRecebimento
- setDescricao() : self
- Set the value of descricao
- setIdAcertoPagamento() : self
- Set the value of idAcertoPagamento
- setIdAcertoRecebimento() : self
- Set the value of idAcertoRecebimento
- setIdBanco() : self
- Set the value of IdBanco
- setIdChequeTerceiro() : self
- Set the value of idChequeTerceiro
- setIdEntidadeCheque() : self
- Set the value of idEntidadeCheque
- setIdEntidadeCliente() : self
- Set the value of idEntidadeCliente
- setIdStatusCheque() : self
- Set the value of idStatusCheque
- setIdUsuario() : self
- Set the value of idUsuario
- setNumeroCheque() : self
- Set the value of numeroCheque
- 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_cheques_terceiro'
pk_field
public
mixed
pk_field
= 'idChequeTerceiro'
sanitize
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= ['delete' => 'src\models\ChequeTerceiroSecurity::securityDelete', 'update' => 'src\models\ChequeTerceiroSecurity::securityUpdate']
tracking
public
mixed
tracking
= true
validations
public
mixed
validations
= ['idEntidadeChequeCheque' => ['required' => 'O campo Entidade do Cheque é requerido.'], 'idStatusCheque' => ['required' => 'O campo Status é requerido.'], 'IdBanco' => ['required' => 'O campo Banco é requerido.'], 'agencia' => ['required' => 'O campo Agencia é requerido.'], 'contaCorrente' => ['required' => 'O campo Conta Corrente é requerido.'], 'numeroCheque' => ['required' => 'O campo Número Conta é requerido.'], 'valor' => ['required' => 'O campo Valor é requerido.'], 'dataPrevista' => ['required' => 'O campo Data Prevista Compensação é requerido.'], 'dataRecebimento' => ['required' => 'O campo Data Recebimento é requerido.']]
Properties
$agencia
private
mixed
$agencia
$codigoCMC7
private
mixed
$codigoCMC7
$contaCorrente
private
mixed
$contaCorrente
$dataHora
private
mixed
$dataHora
$dataPrevista
private
mixed
$dataPrevista
$dataRecebimento
private
mixed
$dataRecebimento
$descricao
private
mixed
$descricao
$idAcertoPagamento
private
mixed
$idAcertoPagamento
$idAcertoRecebimento
private
mixed
$idAcertoRecebimento
$IdBanco
private
mixed
$IdBanco
$idChequeTerceiro
private
mixed
$idChequeTerceiro
$idEntidadeCheque
private
mixed
$idEntidadeCheque
$idEntidadeCliente
private
mixed
$idEntidadeCliente
$idStatusCheque
private
mixed
$idStatusCheque
$idUsuario
private
mixed
$idUsuario
$numeroCheque
private
mixed
$numeroCheque
$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 = []
getAgencia()
Get the value of agencia
public
getAgencia() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCodigoCMC7()
Get the value of codigoCMC7
public
getCodigoCMC7() : 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
getContaCorrente()
Get the value of contaCorrente
public
getContaCorrente() : mixed
getDatabase()
public
getDatabase() : mixed
getDataHora()
Get the value of dataHora
public
getDataHora() : mixed
getDataPrevista()
Get the value of dataPrevista
public
getDataPrevista() : mixed
getDataRecebimento()
Get the value of dataRecebimento
public
getDataRecebimento() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescricao()
Get the value of descricao
public
getDescricao() : mixed
getIdAcertoPagamento()
Get the value of idAcertoPagamento
public
getIdAcertoPagamento() : mixed
getIdAcertoRecebimento()
Get the value of idAcertoRecebimento
public
getIdAcertoRecebimento() : mixed
getIdBanco()
Get the value of IdBanco
public
getIdBanco() : mixed
getIdChequeTerceiro()
Get the value of idChequeTerceiro
public
getIdChequeTerceiro() : mixed
getIdEntidadeCheque()
Get the value of idEntidadeCheque
public
getIdEntidadeCheque() : mixed
getIdEntidadeCliente()
Get the value of idEntidadeCliente
public
getIdEntidadeCliente() : mixed
getIdStatusCheque()
Get the value of idStatusCheque
public
getIdStatusCheque() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getNumeroCheque()
Get the value of numeroCheque
public
getNumeroCheque() : 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
setAgencia()
Set the value of agencia
public
setAgencia(mixed $agencia) : self
Parameters
- $agencia : mixed
Return values
selfsetCodigoCMC7()
Set the value of codigoCMC7
public
setCodigoCMC7(mixed $codigoCMC7) : self
Parameters
- $codigoCMC7 : mixed
Return values
selfsetContaCorrente()
Set the value of contaCorrente
public
setContaCorrente(mixed $contaCorrente) : self
Parameters
- $contaCorrente : mixed
Return values
selfsetDataHora()
Set the value of dataHora
public
setDataHora(mixed $dataHora) : self
Parameters
- $dataHora : mixed
Return values
selfsetDataPrevista()
Set the value of dataPrevista
public
setDataPrevista(mixed $dataPrevista) : self
Parameters
- $dataPrevista : mixed
Return values
selfsetDataRecebimento()
Set the value of dataRecebimento
public
setDataRecebimento(mixed $dataRecebimento) : self
Parameters
- $dataRecebimento : mixed
Return values
selfsetDescricao()
Set the value of descricao
public
setDescricao(mixed $descricao) : self
Parameters
- $descricao : mixed
Return values
selfsetIdAcertoPagamento()
Set the value of idAcertoPagamento
public
setIdAcertoPagamento(mixed $idAcertoPagamento) : self
Parameters
- $idAcertoPagamento : mixed
Return values
selfsetIdAcertoRecebimento()
Set the value of idAcertoRecebimento
public
setIdAcertoRecebimento(mixed $idAcertoRecebimento) : self
Parameters
- $idAcertoRecebimento : mixed
Return values
selfsetIdBanco()
Set the value of IdBanco
public
setIdBanco(mixed $IdBanco) : self
Parameters
- $IdBanco : mixed
Return values
selfsetIdChequeTerceiro()
Set the value of idChequeTerceiro
public
setIdChequeTerceiro(mixed $idChequeTerceiro) : self
Parameters
- $idChequeTerceiro : mixed
Return values
selfsetIdEntidadeCheque()
Set the value of idEntidadeCheque
public
setIdEntidadeCheque(mixed $idEntidadeCheque) : self
Parameters
- $idEntidadeCheque : mixed
Return values
selfsetIdEntidadeCliente()
Set the value of idEntidadeCliente
public
setIdEntidadeCliente(mixed $idEntidadeCliente) : self
Parameters
- $idEntidadeCliente : mixed
Return values
selfsetIdStatusCheque()
Set the value of idStatusCheque
public
setIdStatusCheque(mixed $idStatusCheque) : self
Parameters
- $idStatusCheque : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetNumeroCheque()
Set the value of numeroCheque
public
setNumeroCheque(mixed $numeroCheque) : self
Parameters
- $numeroCheque : 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 = '*'