ContaAnaliticaEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = ['exclude_fields' => ['DataHora']]
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- C_DOC_FISCAL = "2"
- const_values = []
- database = \config\Config::DB_DEFAULT
- db_table = 'finan_planocontas'
- DEDUTIVEIS_TOTAIS = "6"
- N_CLASSIFICADO = "4"
- N_DEDUTIVEIS = "3"
- pk_field = 'idPlanoConta'
- S_DOC_FISCAL = "5"
- sanitize = ['ordem' => 'onlyNumber', 'idContaDRE_vinculo' => 'onlyNumber']
- Estrutura = ['key' => 'rule']
- security = ['select' => 'src\models\ContaAnaliticaSecurity::securitySelect']
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- TODOS = "1"
- Situação IR relatório result. financeiro
- tracking = true
- validations = ['DescricaoConta' => ['required' => 'O campo Nome da Conta é obrigatório.'], 'destinoConta' => ['required' => 'O campo Obejtivo é obrigatório.'], 'ordem' => ['required' => 'O campo Ordem é obrigatório.'], 'idPlanoContaCategoria' => ['required' => 'O campo Centro Gerencial é obrigatório.'], 'porcentagemAlerta' => ['required' => 'O campo % Alerta é obrigatório.'], 'situacaoIR' => ['required' => 'O campo Situação IR é obrigatório.']]
- Estrutura = ['key' => ['keyRule' => 'Rule message']]
Properties
- $aparece : mixed
- $caminho : mixed
- $classificacao : mixed
- $controleAdiantamento : mixed
- $DataHora : mixed
- $descontaEBTIDA : mixed
- $DescricaoConta : mixed
- $DescricaoContaLivroCaixa : mixed
- $destinoConta : mixed
- $forcaIR : mixed
- $idCentroCusto : mixed
- $idCont1 : mixed
- $idCont2 : mixed
- $idCont3 : mixed
- $idContaDRE : mixed
- $idContaDREorigem : mixed
- $idDepartamento : mixed
- $idEmpresa : mixed
- $idNegocioObrigatorio : mixed
- $idPlanoConta : mixed
- $idPlanoContaCategoria : mixed
- $idUsuario : mixed
- $impactarAtivo : mixed
- $obs : mixed
- $opcaoFinanciamento : mixed
- $ordem : mixed
- $porcentagemAlerta : mixed
- $situacaoIR : mixed
- $sqlConsulta : mixed
- $sqlConsulta2 : mixed
- $status : mixed
- $statusAlerta : mixed
- $temIR : mixed
- $TipoBP : mixed
- $TipoCaixa : mixed
- $tipoConsulta : mixed
- $TipoDRE : mixed
- $valorsqlConsulta : mixed
- $valorsqlConsulta2 : mixed
- $viewPlan : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAparece() : mixed
- Get the value of aparece
- getAuditlog() : mixed
- getCaminho() : mixed
- Get the value of caminho
- getClassificacao() : mixed
- Get the value of classificacao
- getConst() : mixed
- getConstObj() : mixed
- getControleAdiantamento() : mixed
- Get the value of controleAdiantamento
- getDatabase() : mixed
- getDataHora() : mixed
- Get the value of DataHora
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescontaEBTIDA() : mixed
- Get the value of descontaEBTIDA
- getDescricaoConta() : mixed
- Get the value of DescricaoConta
- getDescricaoContaLivroCaixa() : mixed
- Get the value of DescricaoContaLivroCaixa
- getDestinoConta() : mixed
- Get the value of destinoConta
- getForcaIR() : mixed
- Get the value of forcaIR
- getIdCentroCusto() : mixed
- Get the value of idCentroCusto
- getIdCont1() : mixed
- Get the value of idCont1
- getIdCont2() : mixed
- Get the value of idCont2
- getIdCont3() : mixed
- Get the value of idCont3
- getIdContaDRE() : mixed
- Get the value of idContaDRE
- getIdContaDREorigem() : mixed
- Get the value of idContaDREorigem
- getIdDepartamento() : mixed
- Get the value of idDepartamento
- getIdEmpresa() : mixed
- Get the value of idEmpresa
- getIdNegocioObrigatorio() : mixed
- Get the value of idNegocioObrigatorio
- getIdPlanoConta() : mixed
- Get the value of idPlanoConta
- getIdPlanoContaCategoria() : mixed
- Get the value of idPlanoContaCategoria
- getIdUsuario() : mixed
- Get the value of idUsuario
- getImpactarAtivo() : mixed
- Get the value of impactarAtivo
- getObs() : mixed
- Get the value of obs
- getOpcaoFinanciamento() : mixed
- Get the value of opcaoFinanciamento
- getOrdem() : mixed
- Get the value of ordem
- getPorcentagemAlerta() : mixed
- Get the value of porcentagemAlerta
- getSituacaoIR() : mixed
- Get the value of situacaoIR
- getSqlConsulta() : mixed
- Get the value of sqlConsulta
- getSqlConsulta2() : mixed
- Get the value of sqlConsulta2
- getStatus() : mixed
- Get the value of status
- getStatusAlerta() : mixed
- Get the value of statusAlerta
- getTable() : mixed
- getTemIR() : mixed
- Get the value of temIR
- getTipoBP() : mixed
- Get the value of TipoBP
- getTipoCaixa() : mixed
- Get the value of TipoCaixa
- getTipoConsulta() : mixed
- Get the value of tipoConsulta
- getTipoDRE() : mixed
- Get the value of TipoDRE
- getValorsqlConsulta() : mixed
- Get the value of valorsqlConsulta
- getValorsqlConsulta2() : mixed
- Get the value of valorsqlConsulta2
- getViewPlan() : mixed
- Get the value of viewPlan
- 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
- setAparece() : self
- Set the value of aparece
- setCaminho() : self
- Set the value of caminho
- setClassificacao() : self
- Set the value of classificacao
- setControleAdiantamento() : self
- Set the value of controleAdiantamento
- setDataHora() : self
- Set the value of DataHora
- setDescontaEBTIDA() : self
- Set the value of descontaEBTIDA
- setDescricaoConta() : self
- Set the value of DescricaoConta
- setDescricaoContaLivroCaixa() : self
- Set the value of DescricaoContaLivroCaixa
- setDestinoConta() : self
- Set the value of destinoConta
- setForcaIR() : self
- Set the value of forcaIR
- setIdCentroCusto() : self
- Set the value of idCentroCusto
- setIdCont1() : self
- Set the value of idCont1
- setIdCont2() : self
- Set the value of idCont2
- setIdCont3() : self
- Set the value of idCont3
- setIdContaDRE() : self
- Set the value of idContaDRE
- setIdContaDREorigem() : self
- Set the value of idContaDREorigem
- setIdDepartamento() : self
- Set the value of idDepartamento
- setIdEmpresa() : self
- Set the value of idEmpresa
- setIdNegocioObrigatorio() : self
- Set the value of idNegocioObrigatorio
- setIdPlanoConta() : self
- Set the value of idPlanoConta
- setIdPlanoContaCategoria() : self
- Set the value of idPlanoContaCategoria
- setIdUsuario() : self
- Set the value of idUsuario
- setImpactarAtivo() : self
- Set the value of impactarAtivo
- setObs() : self
- Set the value of obs
- setOpcaoFinanciamento() : self
- Set the value of opcaoFinanciamento
- setOrdem() : self
- Set the value of ordem
- setPorcentagemAlerta() : self
- Set the value of porcentagemAlerta
- setSituacaoIR() : self
- Set the value of situacaoIR
- setSqlConsulta() : self
- Set the value of sqlConsulta
- setSqlConsulta2() : self
- Set the value of sqlConsulta2
- setStatus() : self
- Set the value of status
- setStatusAlerta() : self
- Set the value of statusAlerta
- setTemIR() : self
- Set the value of temIR
- setTipoBP() : self
- Set the value of TipoBP
- setTipoCaixa() : self
- Set the value of TipoCaixa
- setTipoConsulta() : self
- Set the value of tipoConsulta
- setTipoDRE() : self
- Set the value of TipoDRE
- setValorsqlConsulta() : self
- Set the value of valorsqlConsulta
- setValorsqlConsulta2() : self
- Set the value of valorsqlConsulta2
- setViewPlan() : self
- Set the value of viewPlan
- 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']]
C_DOC_FISCAL
public
mixed
C_DOC_FISCAL
= "2"
const_values
public
mixed
const_values
= []
database
public
mixed
database
= \config\Config::DB_DEFAULT
db_table
public
mixed
db_table
= 'finan_planocontas'
DEDUTIVEIS_TOTAIS
public
mixed
DEDUTIVEIS_TOTAIS
= "6"
N_CLASSIFICADO
public
mixed
N_CLASSIFICADO
= "4"
N_DEDUTIVEIS
public
mixed
N_DEDUTIVEIS
= "3"
pk_field
public
mixed
pk_field
= 'idPlanoConta'
S_DOC_FISCAL
public
mixed
S_DOC_FISCAL
= "5"
sanitize
Estrutura = ['key' => 'rule']
public
mixed
sanitize
= ['ordem' => 'onlyNumber', 'idContaDRE_vinculo' => 'onlyNumber']
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= ['select' => 'src\models\ContaAnaliticaSecurity::securitySelect']
TODOS
Situação IR relatório result. financeiro
public
mixed
TODOS
= "1"
tracking
public
mixed
tracking
= true
validations
Estrutura = ['key' => ['keyRule' => 'Rule message']]
public
mixed
validations
= ['DescricaoConta' => ['required' => 'O campo Nome da Conta é obrigatório.'], 'destinoConta' => ['required' => 'O campo Obejtivo é obrigatório.'], 'ordem' => ['required' => 'O campo Ordem é obrigatório.'], 'idPlanoContaCategoria' => ['required' => 'O campo Centro Gerencial é obrigatório.'], 'porcentagemAlerta' => ['required' => 'O campo % Alerta é obrigatório.'], 'situacaoIR' => ['required' => 'O campo Situação IR é obrigatório.']]
Properties
$aparece
private
mixed
$aparece
$caminho
private
mixed
$caminho
$classificacao
private
mixed
$classificacao
$controleAdiantamento
private
mixed
$controleAdiantamento
$DataHora
private
mixed
$DataHora
$descontaEBTIDA
private
mixed
$descontaEBTIDA
$DescricaoConta
private
mixed
$DescricaoConta
$DescricaoContaLivroCaixa
private
mixed
$DescricaoContaLivroCaixa
$destinoConta
private
mixed
$destinoConta
$forcaIR
private
mixed
$forcaIR
$idCentroCusto
private
mixed
$idCentroCusto
$idCont1
private
mixed
$idCont1
$idCont2
private
mixed
$idCont2
$idCont3
private
mixed
$idCont3
$idContaDRE
private
mixed
$idContaDRE
$idContaDREorigem
private
mixed
$idContaDREorigem
$idDepartamento
private
mixed
$idDepartamento
$idEmpresa
private
mixed
$idEmpresa
$idNegocioObrigatorio
private
mixed
$idNegocioObrigatorio
$idPlanoConta
private
mixed
$idPlanoConta
$idPlanoContaCategoria
private
mixed
$idPlanoContaCategoria
$idUsuario
private
mixed
$idUsuario
$impactarAtivo
private
mixed
$impactarAtivo
$obs
private
mixed
$obs
$opcaoFinanciamento
private
mixed
$opcaoFinanciamento
$ordem
private
mixed
$ordem
$porcentagemAlerta
private
mixed
$porcentagemAlerta
$situacaoIR
private
mixed
$situacaoIR
$sqlConsulta
private
mixed
$sqlConsulta
$sqlConsulta2
private
mixed
$sqlConsulta2
$status
private
mixed
$status
$statusAlerta
private
mixed
$statusAlerta
$temIR
private
mixed
$temIR
$TipoBP
private
mixed
$TipoBP
$TipoCaixa
private
mixed
$TipoCaixa
$tipoConsulta
private
mixed
$tipoConsulta
$TipoDRE
private
mixed
$TipoDRE
$valorsqlConsulta
private
mixed
$valorsqlConsulta
$valorsqlConsulta2
private
mixed
$valorsqlConsulta2
$viewPlan
private
mixed
$viewPlan
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 = []
getAparece()
Get the value of aparece
public
getAparece() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCaminho()
Get the value of caminho
public
getCaminho() : mixed
getClassificacao()
Get the value of classificacao
public
getClassificacao() : 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
getControleAdiantamento()
Get the value of controleAdiantamento
public
getControleAdiantamento() : mixed
getDatabase()
public
getDatabase() : mixed
getDataHora()
Get the value of DataHora
public
getDataHora() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescontaEBTIDA()
Get the value of descontaEBTIDA
public
getDescontaEBTIDA() : mixed
getDescricaoConta()
Get the value of DescricaoConta
public
getDescricaoConta() : mixed
getDescricaoContaLivroCaixa()
Get the value of DescricaoContaLivroCaixa
public
getDescricaoContaLivroCaixa() : mixed
getDestinoConta()
Get the value of destinoConta
public
getDestinoConta() : mixed
getForcaIR()
Get the value of forcaIR
public
getForcaIR() : mixed
getIdCentroCusto()
Get the value of idCentroCusto
public
getIdCentroCusto() : mixed
getIdCont1()
Get the value of idCont1
public
getIdCont1() : mixed
getIdCont2()
Get the value of idCont2
public
getIdCont2() : mixed
getIdCont3()
Get the value of idCont3
public
getIdCont3() : mixed
getIdContaDRE()
Get the value of idContaDRE
public
getIdContaDRE() : mixed
getIdContaDREorigem()
Get the value of idContaDREorigem
public
getIdContaDREorigem() : mixed
getIdDepartamento()
Get the value of idDepartamento
public
getIdDepartamento() : mixed
getIdEmpresa()
Get the value of idEmpresa
public
getIdEmpresa() : mixed
getIdNegocioObrigatorio()
Get the value of idNegocioObrigatorio
public
getIdNegocioObrigatorio() : mixed
getIdPlanoConta()
Get the value of idPlanoConta
public
getIdPlanoConta() : mixed
getIdPlanoContaCategoria()
Get the value of idPlanoContaCategoria
public
getIdPlanoContaCategoria() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getImpactarAtivo()
Get the value of impactarAtivo
public
getImpactarAtivo() : mixed
getObs()
Get the value of obs
public
getObs() : mixed
getOpcaoFinanciamento()
Get the value of opcaoFinanciamento
public
getOpcaoFinanciamento() : mixed
getOrdem()
Get the value of ordem
public
getOrdem() : mixed
getPorcentagemAlerta()
Get the value of porcentagemAlerta
public
getPorcentagemAlerta() : mixed
getSituacaoIR()
Get the value of situacaoIR
public
getSituacaoIR() : mixed
getSqlConsulta()
Get the value of sqlConsulta
public
getSqlConsulta() : mixed
getSqlConsulta2()
Get the value of sqlConsulta2
public
getSqlConsulta2() : mixed
getStatus()
Get the value of status
public
getStatus() : mixed
getStatusAlerta()
Get the value of statusAlerta
public
getStatusAlerta() : mixed
getTable()
public
getTable() : mixed
getTemIR()
Get the value of temIR
public
getTemIR() : mixed
getTipoBP()
Get the value of TipoBP
public
getTipoBP() : mixed
getTipoCaixa()
Get the value of TipoCaixa
public
getTipoCaixa() : mixed
getTipoConsulta()
Get the value of tipoConsulta
public
getTipoConsulta() : mixed
getTipoDRE()
Get the value of TipoDRE
public
getTipoDRE() : mixed
getValorsqlConsulta()
Get the value of valorsqlConsulta
public
getValorsqlConsulta() : mixed
getValorsqlConsulta2()
Get the value of valorsqlConsulta2
public
getValorsqlConsulta2() : mixed
getViewPlan()
Get the value of viewPlan
public
getViewPlan() : 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
setAparece()
Set the value of aparece
public
setAparece(mixed $aparece) : self
Parameters
- $aparece : mixed
Return values
selfsetCaminho()
Set the value of caminho
public
setCaminho(mixed $caminho) : self
Parameters
- $caminho : mixed
Return values
selfsetClassificacao()
Set the value of classificacao
public
setClassificacao(mixed $classificacao) : self
Parameters
- $classificacao : mixed
Return values
selfsetControleAdiantamento()
Set the value of controleAdiantamento
public
setControleAdiantamento(mixed $controleAdiantamento) : self
Parameters
- $controleAdiantamento : mixed
Return values
selfsetDataHora()
Set the value of DataHora
public
setDataHora(mixed $DataHora) : self
Parameters
- $DataHora : mixed
Return values
selfsetDescontaEBTIDA()
Set the value of descontaEBTIDA
public
setDescontaEBTIDA(mixed $descontaEBTIDA) : self
Parameters
- $descontaEBTIDA : mixed
Return values
selfsetDescricaoConta()
Set the value of DescricaoConta
public
setDescricaoConta(mixed $DescricaoConta) : self
Parameters
- $DescricaoConta : mixed
Return values
selfsetDescricaoContaLivroCaixa()
Set the value of DescricaoContaLivroCaixa
public
setDescricaoContaLivroCaixa(mixed $DescricaoContaLivroCaixa) : self
Parameters
- $DescricaoContaLivroCaixa : mixed
Return values
selfsetDestinoConta()
Set the value of destinoConta
public
setDestinoConta(mixed $destinoConta) : self
Parameters
- $destinoConta : mixed
Return values
selfsetForcaIR()
Set the value of forcaIR
public
setForcaIR(mixed $forcaIR) : self
Parameters
- $forcaIR : mixed
Return values
selfsetIdCentroCusto()
Set the value of idCentroCusto
public
setIdCentroCusto(mixed $idCentroCusto) : self
Parameters
- $idCentroCusto : mixed
Return values
selfsetIdCont1()
Set the value of idCont1
public
setIdCont1(mixed $idCont1) : self
Parameters
- $idCont1 : mixed
Return values
selfsetIdCont2()
Set the value of idCont2
public
setIdCont2(mixed $idCont2) : self
Parameters
- $idCont2 : mixed
Return values
selfsetIdCont3()
Set the value of idCont3
public
setIdCont3(mixed $idCont3) : self
Parameters
- $idCont3 : mixed
Return values
selfsetIdContaDRE()
Set the value of idContaDRE
public
setIdContaDRE(mixed $idContaDRE) : self
Parameters
- $idContaDRE : mixed
Return values
selfsetIdContaDREorigem()
Set the value of idContaDREorigem
public
setIdContaDREorigem(mixed $idContaDREorigem) : self
Parameters
- $idContaDREorigem : mixed
Return values
selfsetIdDepartamento()
Set the value of idDepartamento
public
setIdDepartamento(mixed $idDepartamento) : self
Parameters
- $idDepartamento : mixed
Return values
selfsetIdEmpresa()
Set the value of idEmpresa
public
setIdEmpresa(mixed $idEmpresa) : self
Parameters
- $idEmpresa : mixed
Return values
selfsetIdNegocioObrigatorio()
Set the value of idNegocioObrigatorio
public
setIdNegocioObrigatorio(mixed $idNegocioObrigatorio) : self
Parameters
- $idNegocioObrigatorio : mixed
Return values
selfsetIdPlanoConta()
Set the value of idPlanoConta
public
setIdPlanoConta(mixed $idPlanoConta) : self
Parameters
- $idPlanoConta : mixed
Return values
selfsetIdPlanoContaCategoria()
Set the value of idPlanoContaCategoria
public
setIdPlanoContaCategoria(mixed $idPlanoContaCategoria) : self
Parameters
- $idPlanoContaCategoria : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetImpactarAtivo()
Set the value of impactarAtivo
public
setImpactarAtivo(mixed $impactarAtivo) : self
Parameters
- $impactarAtivo : mixed
Return values
selfsetObs()
Set the value of obs
public
setObs(mixed $obs) : self
Parameters
- $obs : mixed
Return values
selfsetOpcaoFinanciamento()
Set the value of opcaoFinanciamento
public
setOpcaoFinanciamento(mixed $opcaoFinanciamento) : self
Parameters
- $opcaoFinanciamento : mixed
Return values
selfsetOrdem()
Set the value of ordem
public
setOrdem(mixed $ordem) : self
Parameters
- $ordem : mixed
Return values
selfsetPorcentagemAlerta()
Set the value of porcentagemAlerta
public
setPorcentagemAlerta(mixed $porcentagemAlerta) : self
Parameters
- $porcentagemAlerta : mixed
Return values
selfsetSituacaoIR()
Set the value of situacaoIR
public
setSituacaoIR(mixed $situacaoIR) : self
Parameters
- $situacaoIR : mixed
Return values
selfsetSqlConsulta()
Set the value of sqlConsulta
public
setSqlConsulta(mixed $sqlConsulta) : self
Parameters
- $sqlConsulta : mixed
Return values
selfsetSqlConsulta2()
Set the value of sqlConsulta2
public
setSqlConsulta2(mixed $sqlConsulta2) : self
Parameters
- $sqlConsulta2 : mixed
Return values
selfsetStatus()
Set the value of status
public
setStatus(mixed $status) : self
Parameters
- $status : mixed
Return values
selfsetStatusAlerta()
Set the value of statusAlerta
public
setStatusAlerta(mixed $statusAlerta) : self
Parameters
- $statusAlerta : mixed
Return values
selfsetTemIR()
Set the value of temIR
public
setTemIR(mixed $temIR) : self
Parameters
- $temIR : mixed
Return values
selfsetTipoBP()
Set the value of TipoBP
public
setTipoBP(mixed $TipoBP) : self
Parameters
- $TipoBP : mixed
Return values
selfsetTipoCaixa()
Set the value of TipoCaixa
public
setTipoCaixa(mixed $TipoCaixa) : self
Parameters
- $TipoCaixa : mixed
Return values
selfsetTipoConsulta()
Set the value of tipoConsulta
public
setTipoConsulta(mixed $tipoConsulta) : self
Parameters
- $tipoConsulta : mixed
Return values
selfsetTipoDRE()
Set the value of TipoDRE
public
setTipoDRE(mixed $TipoDRE) : self
Parameters
- $TipoDRE : mixed
Return values
selfsetValorsqlConsulta()
Set the value of valorsqlConsulta
public
setValorsqlConsulta(mixed $valorsqlConsulta) : self
Parameters
- $valorsqlConsulta : mixed
Return values
selfsetValorsqlConsulta2()
Set the value of valorsqlConsulta2
public
setValorsqlConsulta2(mixed $valorsqlConsulta2) : self
Parameters
- $valorsqlConsulta2 : mixed
Return values
selfsetViewPlan()
Set the value of viewPlan
public
setViewPlan(mixed $viewPlan) : self
Parameters
- $viewPlan : 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 = '*'