ContasPrevisaoItemBackupEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = ['exclude_fields' => ['*']]
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = []
- database = \config\Config::DB_DEFAULT
- db_table = 'finan_contas_previsao_item_backup'
- pk_field = 'idContasPrevItemBackup'
- 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
- $anexo : mixed
- $AnoAgricola : mixed
- $ciclo : mixed
- $DataHora : mixed
- $dataHoraUpdateRateioFazenda : mixed
- $dataHoraUpdateRateioNegocio : mixed
- $DataVecto : mixed
- $descricao : mixed
- $idContasPrevBackup : mixed
- $idContasPrevItemBackup : mixed
- $idFazenda : mixed
- $idNegocio : mixed
- $idPlanoConta : mixed
- $idUnidadeNegocio : mixed
- $idUsuario : mixed
- $idUsuarioUpdateRateioFazenda : mixed
- $idUsuarioUpdateRateioNegocio : mixed
- $Juros : mixed
- $MesAno : mixed
- $rateioFazenda : mixed
- $rateioNegocio : mixed
- $VlrPagar : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAnexo() : mixed
- Get the value of anexo
- getAnoAgricola() : mixed
- Get the value of AnoAgricola
- getAuditlog() : mixed
- getCiclo() : mixed
- Get the value of ciclo
- getConst() : mixed
- getConstObj() : mixed
- getDatabase() : mixed
- getDataHora() : mixed
- Get the value of DataHora
- getDataHoraUpdateRateioFazenda() : mixed
- Get the value of dataHoraUpdateRateioFazenda
- getDataHoraUpdateRateioNegocio() : mixed
- Get the value of dataHoraUpdateRateioNegocio
- getDataVecto() : mixed
- Get the value of DataVecto
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescricao() : mixed
- Get the value of descricao
- getIdContasPrevBackup() : mixed
- Get the value of idContasPrevBackup
- getIdContasPrevItemBackup() : mixed
- Get the value of idContasPrevItemBackup
- getIdFazenda() : mixed
- Get the value of idFazenda
- getIdNegocio() : mixed
- Get the value of idNegocio
- getIdPlanoConta() : mixed
- Get the value of idPlanoConta
- getIdUnidadeNegocio() : mixed
- Get the value of idUnidadeNegocio
- getIdUsuario() : mixed
- Get the value of idUsuario
- getIdUsuarioUpdateRateioFazenda() : mixed
- Get the value of idUsuarioUpdateRateioFazenda
- getIdUsuarioUpdateRateioNegocio() : mixed
- Get the value of idUsuarioUpdateRateioNegocio
- getJuros() : mixed
- Get the value of Juros
- getMesAno() : mixed
- Get the value of MesAno
- getRateioFazenda() : mixed
- Get the value of rateioFazenda
- getRateioNegocio() : mixed
- Get the value of rateioNegocio
- getTable() : mixed
- getVlrPagar() : mixed
- Get the value of VlrPagar
- 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
- setAnexo() : self
- Set the value of anexo
- setAnoAgricola() : self
- Set the value of AnoAgricola
- setCiclo() : self
- Set the value of ciclo
- setDataHora() : self
- Set the value of DataHora
- setDataHoraUpdateRateioFazenda() : self
- Set the value of dataHoraUpdateRateioFazenda
- setDataHoraUpdateRateioNegocio() : self
- Set the value of dataHoraUpdateRateioNegocio
- setDataVecto() : self
- Set the value of DataVecto
- setDescricao() : self
- Set the value of descricao
- setIdContasPrevBackup() : self
- Set the value of idContasPrevBackup
- setIdContasPrevItemBackup() : self
- Set the value of idContasPrevItemBackup
- setIdFazenda() : self
- Set the value of idFazenda
- setIdNegocio() : self
- Set the value of idNegocio
- setIdPlanoConta() : self
- Set the value of idPlanoConta
- setIdUnidadeNegocio() : self
- Set the value of idUnidadeNegocio
- setIdUsuario() : self
- Set the value of idUsuario
- setIdUsuarioUpdateRateioFazenda() : self
- Set the value of idUsuarioUpdateRateioFazenda
- setIdUsuarioUpdateRateioNegocio() : self
- Set the value of idUsuarioUpdateRateioNegocio
- setJuros() : self
- Set the value of Juros
- setMesAno() : self
- Set the value of MesAno
- setRateioFazenda() : self
- Set the value of rateioFazenda
- setRateioNegocio() : self
- Set the value of rateioNegocio
- setVlrPagar() : self
- Set the value of VlrPagar
- 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' => ['*']]
const_values
public
mixed
const_values
= []
database
public
mixed
database
= \config\Config::DB_DEFAULT
db_table
public
mixed
db_table
= 'finan_contas_previsao_item_backup'
pk_field
public
mixed
pk_field
= 'idContasPrevItemBackup'
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
$anexo
private
mixed
$anexo
$AnoAgricola
private
mixed
$AnoAgricola
$ciclo
private
mixed
$ciclo
$DataHora
private
mixed
$DataHora
$dataHoraUpdateRateioFazenda
private
mixed
$dataHoraUpdateRateioFazenda
$dataHoraUpdateRateioNegocio
private
mixed
$dataHoraUpdateRateioNegocio
$DataVecto
private
mixed
$DataVecto
$descricao
private
mixed
$descricao
$idContasPrevBackup
private
mixed
$idContasPrevBackup
$idContasPrevItemBackup
private
mixed
$idContasPrevItemBackup
$idFazenda
private
mixed
$idFazenda
$idNegocio
private
mixed
$idNegocio
$idPlanoConta
private
mixed
$idPlanoConta
$idUnidadeNegocio
private
mixed
$idUnidadeNegocio
$idUsuario
private
mixed
$idUsuario
$idUsuarioUpdateRateioFazenda
private
mixed
$idUsuarioUpdateRateioFazenda
$idUsuarioUpdateRateioNegocio
private
mixed
$idUsuarioUpdateRateioNegocio
$Juros
private
mixed
$Juros
$MesAno
private
mixed
$MesAno
$rateioFazenda
private
mixed
$rateioFazenda
$rateioNegocio
private
mixed
$rateioNegocio
$VlrPagar
private
mixed
$VlrPagar
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 = []
getAnexo()
Get the value of anexo
public
getAnexo() : mixed
getAnoAgricola()
Get the value of AnoAgricola
public
getAnoAgricola() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCiclo()
Get the value of ciclo
public
getCiclo() : 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
getDatabase()
public
getDatabase() : mixed
getDataHora()
Get the value of DataHora
public
getDataHora() : mixed
getDataHoraUpdateRateioFazenda()
Get the value of dataHoraUpdateRateioFazenda
public
getDataHoraUpdateRateioFazenda() : mixed
getDataHoraUpdateRateioNegocio()
Get the value of dataHoraUpdateRateioNegocio
public
getDataHoraUpdateRateioNegocio() : mixed
getDataVecto()
Get the value of DataVecto
public
getDataVecto() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescricao()
Get the value of descricao
public
getDescricao() : mixed
getIdContasPrevBackup()
Get the value of idContasPrevBackup
public
getIdContasPrevBackup() : mixed
getIdContasPrevItemBackup()
Get the value of idContasPrevItemBackup
public
getIdContasPrevItemBackup() : mixed
getIdFazenda()
Get the value of idFazenda
public
getIdFazenda() : mixed
getIdNegocio()
Get the value of idNegocio
public
getIdNegocio() : mixed
getIdPlanoConta()
Get the value of idPlanoConta
public
getIdPlanoConta() : mixed
getIdUnidadeNegocio()
Get the value of idUnidadeNegocio
public
getIdUnidadeNegocio() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getIdUsuarioUpdateRateioFazenda()
Get the value of idUsuarioUpdateRateioFazenda
public
getIdUsuarioUpdateRateioFazenda() : mixed
getIdUsuarioUpdateRateioNegocio()
Get the value of idUsuarioUpdateRateioNegocio
public
getIdUsuarioUpdateRateioNegocio() : mixed
getJuros()
Get the value of Juros
public
getJuros() : mixed
getMesAno()
Get the value of MesAno
public
getMesAno() : mixed
getRateioFazenda()
Get the value of rateioFazenda
public
getRateioFazenda() : mixed
getRateioNegocio()
Get the value of rateioNegocio
public
getRateioNegocio() : mixed
getTable()
public
getTable() : mixed
getVlrPagar()
Get the value of VlrPagar
public
getVlrPagar() : 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
setAnexo()
Set the value of anexo
public
setAnexo(mixed $anexo) : self
Parameters
- $anexo : mixed
Return values
selfsetAnoAgricola()
Set the value of AnoAgricola
public
setAnoAgricola(mixed $AnoAgricola) : self
Parameters
- $AnoAgricola : mixed
Return values
selfsetCiclo()
Set the value of ciclo
public
setCiclo(mixed $ciclo) : self
Parameters
- $ciclo : mixed
Return values
selfsetDataHora()
Set the value of DataHora
public
setDataHora(mixed $DataHora) : self
Parameters
- $DataHora : mixed
Return values
selfsetDataHoraUpdateRateioFazenda()
Set the value of dataHoraUpdateRateioFazenda
public
setDataHoraUpdateRateioFazenda(mixed $dataHoraUpdateRateioFazenda) : self
Parameters
- $dataHoraUpdateRateioFazenda : mixed
Return values
selfsetDataHoraUpdateRateioNegocio()
Set the value of dataHoraUpdateRateioNegocio
public
setDataHoraUpdateRateioNegocio(mixed $dataHoraUpdateRateioNegocio) : self
Parameters
- $dataHoraUpdateRateioNegocio : mixed
Return values
selfsetDataVecto()
Set the value of DataVecto
public
setDataVecto(mixed $DataVecto) : self
Parameters
- $DataVecto : mixed
Return values
selfsetDescricao()
Set the value of descricao
public
setDescricao(mixed $descricao) : self
Parameters
- $descricao : mixed
Return values
selfsetIdContasPrevBackup()
Set the value of idContasPrevBackup
public
setIdContasPrevBackup(mixed $idContasPrevBackup) : self
Parameters
- $idContasPrevBackup : mixed
Return values
selfsetIdContasPrevItemBackup()
Set the value of idContasPrevItemBackup
public
setIdContasPrevItemBackup(mixed $idContasPrevItemBackup) : self
Parameters
- $idContasPrevItemBackup : mixed
Return values
selfsetIdFazenda()
Set the value of idFazenda
public
setIdFazenda(mixed $idFazenda) : self
Parameters
- $idFazenda : 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
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
selfsetIdUsuarioUpdateRateioFazenda()
Set the value of idUsuarioUpdateRateioFazenda
public
setIdUsuarioUpdateRateioFazenda(mixed $idUsuarioUpdateRateioFazenda) : self
Parameters
- $idUsuarioUpdateRateioFazenda : mixed
Return values
selfsetIdUsuarioUpdateRateioNegocio()
Set the value of idUsuarioUpdateRateioNegocio
public
setIdUsuarioUpdateRateioNegocio(mixed $idUsuarioUpdateRateioNegocio) : self
Parameters
- $idUsuarioUpdateRateioNegocio : mixed
Return values
selfsetJuros()
Set the value of Juros
public
setJuros(mixed $Juros) : self
Parameters
- $Juros : mixed
Return values
selfsetMesAno()
Set the value of MesAno
public
setMesAno(mixed $MesAno) : self
Parameters
- $MesAno : mixed
Return values
selfsetRateioFazenda()
Set the value of rateioFazenda
public
setRateioFazenda(mixed $rateioFazenda) : self
Parameters
- $rateioFazenda : mixed
Return values
selfsetRateioNegocio()
Set the value of rateioNegocio
public
setRateioNegocio(mixed $rateioNegocio) : self
Parameters
- $rateioNegocio : mixed
Return values
selfsetVlrPagar()
Set the value of VlrPagar
public
setVlrPagar(mixed $VlrPagar) : self
Parameters
- $VlrPagar : 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 = '*'