Documentation

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

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

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

getDataRecebimento()

Get the value of dataRecebimento

public getDataRecebimento() : mixed

getDBDriver()

public static getDBDriver() : mixed

getDBTable()

public static getDBTable() : mixed

getIdAcertoPagamento()

Get the value of idAcertoPagamento

public getIdAcertoPagamento() : mixed

getIdAcertoRecebimento()

Get the value of idAcertoRecebimento

public getIdAcertoRecebimento() : 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

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

setAgencia()

Set the value of agencia

public setAgencia(mixed $agencia) : self
Parameters
$agencia : mixed
Return values
self

setCodigoCMC7()

Set the value of codigoCMC7

public setCodigoCMC7(mixed $codigoCMC7) : self
Parameters
$codigoCMC7 : mixed
Return values
self

setContaCorrente()

Set the value of contaCorrente

public setContaCorrente(mixed $contaCorrente) : self
Parameters
$contaCorrente : mixed
Return values
self

setDataHora()

Set the value of dataHora

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

setDataPrevista()

Set the value of dataPrevista

public setDataPrevista(mixed $dataPrevista) : self
Parameters
$dataPrevista : mixed
Return values
self

setDataRecebimento()

Set the value of dataRecebimento

public setDataRecebimento(mixed $dataRecebimento) : self
Parameters
$dataRecebimento : mixed
Return values
self

setDescricao()

Set the value of descricao

public setDescricao(mixed $descricao) : self
Parameters
$descricao : mixed
Return values
self

setIdAcertoPagamento()

Set the value of idAcertoPagamento

public setIdAcertoPagamento(mixed $idAcertoPagamento) : self
Parameters
$idAcertoPagamento : mixed
Return values
self

setIdAcertoRecebimento()

Set the value of idAcertoRecebimento

public setIdAcertoRecebimento(mixed $idAcertoRecebimento) : self
Parameters
$idAcertoRecebimento : mixed
Return values
self

setIdBanco()

Set the value of IdBanco

public setIdBanco(mixed $IdBanco) : self
Parameters
$IdBanco : mixed
Return values
self

setIdChequeTerceiro()

Set the value of idChequeTerceiro

public setIdChequeTerceiro(mixed $idChequeTerceiro) : self
Parameters
$idChequeTerceiro : mixed
Return values
self

setIdEntidadeCheque()

Set the value of idEntidadeCheque

public setIdEntidadeCheque(mixed $idEntidadeCheque) : self
Parameters
$idEntidadeCheque : mixed
Return values
self

setIdEntidadeCliente()

Set the value of idEntidadeCliente

public setIdEntidadeCliente(mixed $idEntidadeCliente) : self
Parameters
$idEntidadeCliente : mixed
Return values
self

setIdStatusCheque()

Set the value of idStatusCheque

public setIdStatusCheque(mixed $idStatusCheque) : self
Parameters
$idStatusCheque : mixed
Return values
self

setIdUsuario()

Set the value of idUsuario

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

setNumeroCheque()

Set the value of numeroCheque

public setNumeroCheque(mixed $numeroCheque) : self
Parameters
$numeroCheque : mixed
Return values
self

setValor()

Set the value of valor

public setValor(mixed $valor) : self
Parameters
$valor : 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