PessoaEntity
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 = 'pessoa_entidades'
- pk_field = 'idEntidade'
- sanitize = ['cpfCnpjEntidade' => 'onlyNumber', 'IE' => 'onlyNumber', 'TelefoneEntidade' => 'onlyNumber', 'CelularEntidade' => 'onlyNumber', 'EmailEntidade' => 'email', 'inscrMunic' => 'onlyNumber']
- Estrutura = ['key' => 'rule']
- security = ['update' => 'src\models\PessoaSecurity::securityUpdate', 'insert' => 'src\models\PessoaSecurity::securityInsert', 'delete' => 'src\models\PessoaSecurity::securityDelete']
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- tracking = true
- validations = ['NomeEntidade' => ['required' => 'O campo Nome é obrigatório.'], 'cpfCnpjEntidade' => [ // 'required' => 'O campo CPF/CNPJ é obrigatório.', 'cpfCnpj' => 'CPF/CNPJ invalido.', ]]
- Estrutura = ['key' => ['keyRule' => 'Rule message']]
Properties
- $apelidoEntidade : mixed
- $CelularEntidade : mixed
- $ClienteEntidade : mixed
- $contatoEntidade : mixed
- $cpfCnpjEntidade : mixed
- $CriadorEntidade : mixed
- $DataCadEntidade : mixed
- $DataHora : mixed
- $dominioCliente : mixed
- $EmailEntidade : mixed
- $FAXEntidade : mixed
- $FornecedorEntidade : mixed
- $FuncionarioEntidade : mixed
- $idCidadeNotaServico : mixed
- $idEntidade : mixed
- $idEntidadeConsultorComercial : mixed
- $idEntidadeConsultorProjeto : mixed
- ESTES CAMPOS SÂO PARA CONTROLE DO GERENCIAL SYSCONAG
- $idJiraOrganizacao : mixed
- $idSegmentoEntidade : mixed
- $idTipoPagamento : mixed
- $idUsuario : mixed
- $IE : mixed
- $inscrMunic : mixed
- $NomeEntidade : mixed
- $OBSEntidade : mixed
- $PessoaFisiccaJuridicaEntidade : mixed
- $prazoPagamentoDias : mixed
- $ProprioTerceiro : mixed
- $razaoSocial : mixed
- $SiteEntidade : mixed
- $status : mixed
- $statusVenda : mixed
- $TelefoneEntidade : mixed
- $TerceiroEntidade : mixed
- $totalAnexo : mixed
- $TransportadoraEntidade : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getApelidoEntidade() : mixed
- Get the value of apelidoEntidade
- getAuditlog() : mixed
- getCelularEntidade() : mixed
- Get the value of CelularEntidade
- getClienteEntidade() : mixed
- Get the value of ClienteEntidade
- getConst() : mixed
- getConstObj() : mixed
- getContatoEntidade() : mixed
- Get the value of contatoEntidade
- getCpfCnpjEntidade() : mixed
- Get the value of cpfCnpjEntidade
- getCriadorEntidade() : mixed
- Get the value of CriadorEntidade
- getDatabase() : mixed
- getDataCadEntidade() : mixed
- Get the value of DataCadEntidade
- getDataHora() : mixed
- Get the value of DataHora
- getDBDriver() : mixed
- getDBTable() : mixed
- getDominioCliente() : mixed
- Get the value of dominioCliente
- getEmailEntidade() : mixed
- Get the value of EmailEntidade
- getFAXEntidade() : mixed
- Get the value of FAXEntidade
- getFornecedorEntidade() : mixed
- Get the value of FornecedorEntidade
- getFuncionarioEntidade() : mixed
- Get the value of FuncionarioEntidade
- getIdCidadeNotaServico() : mixed
- Get the value of idCidadeNotaServico
- getIdEntidade() : mixed
- Get the value of idEntidade
- getIdEntidadeConsultorComercial() : mixed
- Get the value of idEntidadeConsultorComercial
- getIdEntidadeConsultorProjeto() : mixed
- Get eSTES CAMPOS SÂO PARA CONTROLE DO GERENCIAL SYSCONAG
- getIdJiraOrganizacao() : mixed
- Get the value of idJiraOrganizacao
- getIdSegmentoEntidade() : mixed
- Get the value of idSegmentoEntidade
- getIdTipoPagamento() : mixed
- Get the value of idTipoPagamento
- getIdUsuario() : mixed
- Get the value of idUsuario
- getIE() : mixed
- Get the value of IE
- getInscrMunic() : mixed
- Get the value of inscrMunic
- getNomeEntidade() : mixed
- Get the value of NomeEntidade
- getOBSEntidade() : mixed
- Get the value of OBSEntidade
- getPessoaFisiccaJuridicaEntidade() : mixed
- Get the value of PessoaFisiccaJuridicaEntidade
- getPrazoPagamentoDias() : mixed
- Get the value of prazoPagamentoDias
- getProprioTerceiro() : mixed
- Get the value of ProprioTerceiro
- getRazaoSocial() : mixed
- Get the value of razaoSocial
- getSiteEntidade() : mixed
- Get the value of SiteEntidade
- getStatus() : mixed
- Get the value of status
- getStatusVenda() : mixed
- Get the value of statusVenda
- getTable() : mixed
- getTelefoneEntidade() : mixed
- Get the value of TelefoneEntidade
- getTerceiroEntidade() : mixed
- Get the value of TerceiroEntidade
- getTotalAnexo() : mixed
- Get the value of totalAnexo
- getTransportadoraEntidade() : mixed
- Get the value of TransportadoraEntidade
- 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
- setApelidoEntidade() : self
- Set the value of apelidoEntidade
- setCelularEntidade() : self
- Set the value of CelularEntidade
- setClienteEntidade() : self
- Set the value of ClienteEntidade
- setContatoEntidade() : self
- Set the value of contatoEntidade
- setCpfCnpjEntidade() : self
- Set the value of cpfCnpjEntidade
- setCriadorEntidade() : self
- Set the value of CriadorEntidade
- setDataCadEntidade() : self
- Set the value of DataCadEntidade
- setDataHora() : self
- Set the value of DataHora
- setDominioCliente() : self
- Set the value of dominioCliente
- setEmailEntidade() : self
- Set the value of EmailEntidade
- setFAXEntidade() : self
- Set the value of FAXEntidade
- setFornecedorEntidade() : self
- Set the value of FornecedorEntidade
- setFuncionarioEntidade() : self
- Set the value of FuncionarioEntidade
- setIdCidadeNotaServico() : self
- Set the value of idCidadeNotaServico
- setIdEntidade() : self
- Set the value of idEntidade
- setIdEntidadeConsultorComercial() : self
- Set the value of idEntidadeConsultorComercial
- setIdEntidadeConsultorProjeto() : self
- Set eSTES CAMPOS SÂO PARA CONTROLE DO GERENCIAL SYSCONAG
- setIdJiraOrganizacao() : self
- Set the value of idJiraOrganizacao
- setIdSegmentoEntidade() : self
- Set the value of idSegmentoEntidade
- setIdTipoPagamento() : self
- Set the value of idTipoPagamento
- setIdUsuario() : self
- Set the value of idUsuario
- setIE() : self
- Set the value of IE
- setInscrMunic() : self
- Set the value of inscrMunic
- setNomeEntidade() : self
- Set the value of NomeEntidade
- setOBSEntidade() : self
- Set the value of OBSEntidade
- setPessoaFisiccaJuridicaEntidade() : self
- Set the value of PessoaFisiccaJuridicaEntidade
- setPrazoPagamentoDias() : self
- Set the value of prazoPagamentoDias
- setProprioTerceiro() : self
- Set the value of ProprioTerceiro
- setRazaoSocial() : self
- Set the value of razaoSocial
- setSiteEntidade() : self
- Set the value of SiteEntidade
- setStatus() : self
- Set the value of status
- setStatusVenda() : self
- Set the value of statusVenda
- setTelefoneEntidade() : self
- Set the value of TelefoneEntidade
- setTerceiroEntidade() : self
- Set the value of TerceiroEntidade
- setTotalAnexo() : self
- Set the value of totalAnexo
- setTransportadoraEntidade() : self
- Set the value of TransportadoraEntidade
- 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
= 'pessoa_entidades'
pk_field
public
mixed
pk_field
= 'idEntidade'
sanitize
Estrutura = ['key' => 'rule']
public
mixed
sanitize
= ['cpfCnpjEntidade' => 'onlyNumber', 'IE' => 'onlyNumber', 'TelefoneEntidade' => 'onlyNumber', 'CelularEntidade' => 'onlyNumber', 'EmailEntidade' => 'email', 'inscrMunic' => 'onlyNumber']
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= ['update' => 'src\models\PessoaSecurity::securityUpdate', 'insert' => 'src\models\PessoaSecurity::securityInsert', 'delete' => 'src\models\PessoaSecurity::securityDelete']
tracking
public
mixed
tracking
= true
validations
Estrutura = ['key' => ['keyRule' => 'Rule message']]
public
mixed
validations
= ['NomeEntidade' => ['required' => 'O campo Nome é obrigatório.'], 'cpfCnpjEntidade' => [
// 'required' => 'O campo CPF/CNPJ é obrigatório.',
'cpfCnpj' => 'CPF/CNPJ invalido.',
]]
Properties
$apelidoEntidade
private
mixed
$apelidoEntidade
$CelularEntidade
private
mixed
$CelularEntidade
$ClienteEntidade
private
mixed
$ClienteEntidade
$contatoEntidade
private
mixed
$contatoEntidade
$cpfCnpjEntidade
private
mixed
$cpfCnpjEntidade
$CriadorEntidade
private
mixed
$CriadorEntidade
$DataCadEntidade
private
mixed
$DataCadEntidade
$DataHora
private
mixed
$DataHora
$dominioCliente
private
mixed
$dominioCliente
$EmailEntidade
private
mixed
$EmailEntidade
$FAXEntidade
private
mixed
$FAXEntidade
$FornecedorEntidade
private
mixed
$FornecedorEntidade
$FuncionarioEntidade
private
mixed
$FuncionarioEntidade
$idCidadeNotaServico
private
mixed
$idCidadeNotaServico
$idEntidade
private
mixed
$idEntidade
$idEntidadeConsultorComercial
private
mixed
$idEntidadeConsultorComercial
$idEntidadeConsultorProjeto
ESTES CAMPOS SÂO PARA CONTROLE DO GERENCIAL SYSCONAG
private
mixed
$idEntidadeConsultorProjeto
$idJiraOrganizacao
private
mixed
$idJiraOrganizacao
$idSegmentoEntidade
private
mixed
$idSegmentoEntidade
$idTipoPagamento
private
mixed
$idTipoPagamento
$idUsuario
private
mixed
$idUsuario
$IE
private
mixed
$IE
$inscrMunic
private
mixed
$inscrMunic
$NomeEntidade
private
mixed
$NomeEntidade
$OBSEntidade
private
mixed
$OBSEntidade
$PessoaFisiccaJuridicaEntidade
private
mixed
$PessoaFisiccaJuridicaEntidade
$prazoPagamentoDias
private
mixed
$prazoPagamentoDias
$ProprioTerceiro
private
mixed
$ProprioTerceiro
$razaoSocial
private
mixed
$razaoSocial
$SiteEntidade
private
mixed
$SiteEntidade
$status
private
mixed
$status
$statusVenda
private
mixed
$statusVenda
$TelefoneEntidade
private
mixed
$TelefoneEntidade
$TerceiroEntidade
private
mixed
$TerceiroEntidade
$totalAnexo
private
mixed
$totalAnexo
$TransportadoraEntidade
private
mixed
$TransportadoraEntidade
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 = []
getApelidoEntidade()
Get the value of apelidoEntidade
public
getApelidoEntidade() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCelularEntidade()
Get the value of CelularEntidade
public
getCelularEntidade() : mixed
getClienteEntidade()
Get the value of ClienteEntidade
public
getClienteEntidade() : 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
getContatoEntidade()
Get the value of contatoEntidade
public
getContatoEntidade() : mixed
getCpfCnpjEntidade()
Get the value of cpfCnpjEntidade
public
getCpfCnpjEntidade() : mixed
getCriadorEntidade()
Get the value of CriadorEntidade
public
getCriadorEntidade() : mixed
getDatabase()
public
getDatabase() : mixed
getDataCadEntidade()
Get the value of DataCadEntidade
public
getDataCadEntidade() : mixed
getDataHora()
Get the value of DataHora
public
getDataHora() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDominioCliente()
Get the value of dominioCliente
public
getDominioCliente() : mixed
getEmailEntidade()
Get the value of EmailEntidade
public
getEmailEntidade() : mixed
getFAXEntidade()
Get the value of FAXEntidade
public
getFAXEntidade() : mixed
getFornecedorEntidade()
Get the value of FornecedorEntidade
public
getFornecedorEntidade() : mixed
getFuncionarioEntidade()
Get the value of FuncionarioEntidade
public
getFuncionarioEntidade() : mixed
getIdCidadeNotaServico()
Get the value of idCidadeNotaServico
public
getIdCidadeNotaServico() : mixed
getIdEntidade()
Get the value of idEntidade
public
getIdEntidade() : mixed
getIdEntidadeConsultorComercial()
Get the value of idEntidadeConsultorComercial
public
getIdEntidadeConsultorComercial() : mixed
getIdEntidadeConsultorProjeto()
Get eSTES CAMPOS SÂO PARA CONTROLE DO GERENCIAL SYSCONAG
public
getIdEntidadeConsultorProjeto() : mixed
getIdJiraOrganizacao()
Get the value of idJiraOrganizacao
public
getIdJiraOrganizacao() : mixed
getIdSegmentoEntidade()
Get the value of idSegmentoEntidade
public
getIdSegmentoEntidade() : mixed
getIdTipoPagamento()
Get the value of idTipoPagamento
public
getIdTipoPagamento() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getIE()
Get the value of IE
public
getIE() : mixed
getInscrMunic()
Get the value of inscrMunic
public
getInscrMunic() : mixed
getNomeEntidade()
Get the value of NomeEntidade
public
getNomeEntidade() : mixed
getOBSEntidade()
Get the value of OBSEntidade
public
getOBSEntidade() : mixed
getPessoaFisiccaJuridicaEntidade()
Get the value of PessoaFisiccaJuridicaEntidade
public
getPessoaFisiccaJuridicaEntidade() : mixed
getPrazoPagamentoDias()
Get the value of prazoPagamentoDias
public
getPrazoPagamentoDias() : mixed
getProprioTerceiro()
Get the value of ProprioTerceiro
public
getProprioTerceiro() : mixed
getRazaoSocial()
Get the value of razaoSocial
public
getRazaoSocial() : mixed
getSiteEntidade()
Get the value of SiteEntidade
public
getSiteEntidade() : mixed
getStatus()
Get the value of status
public
getStatus() : mixed
getStatusVenda()
Get the value of statusVenda
public
getStatusVenda() : mixed
getTable()
public
getTable() : mixed
getTelefoneEntidade()
Get the value of TelefoneEntidade
public
getTelefoneEntidade() : mixed
getTerceiroEntidade()
Get the value of TerceiroEntidade
public
getTerceiroEntidade() : mixed
getTotalAnexo()
Get the value of totalAnexo
public
getTotalAnexo() : mixed
getTransportadoraEntidade()
Get the value of TransportadoraEntidade
public
getTransportadoraEntidade() : 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
setApelidoEntidade()
Set the value of apelidoEntidade
public
setApelidoEntidade(mixed $apelidoEntidade) : self
Parameters
- $apelidoEntidade : mixed
Return values
selfsetCelularEntidade()
Set the value of CelularEntidade
public
setCelularEntidade(mixed $CelularEntidade) : self
Parameters
- $CelularEntidade : mixed
Return values
selfsetClienteEntidade()
Set the value of ClienteEntidade
public
setClienteEntidade(mixed $ClienteEntidade) : self
Parameters
- $ClienteEntidade : mixed
Return values
selfsetContatoEntidade()
Set the value of contatoEntidade
public
setContatoEntidade(mixed $contatoEntidade) : self
Parameters
- $contatoEntidade : mixed
Return values
selfsetCpfCnpjEntidade()
Set the value of cpfCnpjEntidade
public
setCpfCnpjEntidade(mixed $cpfCnpjEntidade) : self
Parameters
- $cpfCnpjEntidade : mixed
Return values
selfsetCriadorEntidade()
Set the value of CriadorEntidade
public
setCriadorEntidade(mixed $CriadorEntidade) : self
Parameters
- $CriadorEntidade : mixed
Return values
selfsetDataCadEntidade()
Set the value of DataCadEntidade
public
setDataCadEntidade(mixed $DataCadEntidade) : self
Parameters
- $DataCadEntidade : mixed
Return values
selfsetDataHora()
Set the value of DataHora
public
setDataHora(mixed $DataHora) : self
Parameters
- $DataHora : mixed
Return values
selfsetDominioCliente()
Set the value of dominioCliente
public
setDominioCliente(mixed $dominioCliente) : self
Parameters
- $dominioCliente : mixed
Return values
selfsetEmailEntidade()
Set the value of EmailEntidade
public
setEmailEntidade(mixed $EmailEntidade) : self
Parameters
- $EmailEntidade : mixed
Return values
selfsetFAXEntidade()
Set the value of FAXEntidade
public
setFAXEntidade(mixed $FAXEntidade) : self
Parameters
- $FAXEntidade : mixed
Return values
selfsetFornecedorEntidade()
Set the value of FornecedorEntidade
public
setFornecedorEntidade(mixed $FornecedorEntidade) : self
Parameters
- $FornecedorEntidade : mixed
Return values
selfsetFuncionarioEntidade()
Set the value of FuncionarioEntidade
public
setFuncionarioEntidade(mixed $FuncionarioEntidade) : self
Parameters
- $FuncionarioEntidade : mixed
Return values
selfsetIdCidadeNotaServico()
Set the value of idCidadeNotaServico
public
setIdCidadeNotaServico(mixed $idCidadeNotaServico) : self
Parameters
- $idCidadeNotaServico : mixed
Return values
selfsetIdEntidade()
Set the value of idEntidade
public
setIdEntidade(mixed $idEntidade) : self
Parameters
- $idEntidade : mixed
Return values
selfsetIdEntidadeConsultorComercial()
Set the value of idEntidadeConsultorComercial
public
setIdEntidadeConsultorComercial(mixed $idEntidadeConsultorComercial) : self
Parameters
- $idEntidadeConsultorComercial : mixed
Return values
selfsetIdEntidadeConsultorProjeto()
Set eSTES CAMPOS SÂO PARA CONTROLE DO GERENCIAL SYSCONAG
public
setIdEntidadeConsultorProjeto(mixed $idEntidadeConsultorProjeto) : self
Parameters
- $idEntidadeConsultorProjeto : mixed
Return values
selfsetIdJiraOrganizacao()
Set the value of idJiraOrganizacao
public
setIdJiraOrganizacao(mixed $idJiraOrganizacao) : self
Parameters
- $idJiraOrganizacao : mixed
Return values
selfsetIdSegmentoEntidade()
Set the value of idSegmentoEntidade
public
setIdSegmentoEntidade(mixed $idSegmentoEntidade) : self
Parameters
- $idSegmentoEntidade : mixed
Return values
selfsetIdTipoPagamento()
Set the value of idTipoPagamento
public
setIdTipoPagamento(mixed $idTipoPagamento) : self
Parameters
- $idTipoPagamento : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetIE()
Set the value of IE
public
setIE(mixed $IE) : self
Parameters
- $IE : mixed
Return values
selfsetInscrMunic()
Set the value of inscrMunic
public
setInscrMunic(mixed $inscrMunic) : self
Parameters
- $inscrMunic : mixed
Return values
selfsetNomeEntidade()
Set the value of NomeEntidade
public
setNomeEntidade(mixed $NomeEntidade) : self
Parameters
- $NomeEntidade : mixed
Return values
selfsetOBSEntidade()
Set the value of OBSEntidade
public
setOBSEntidade(mixed $OBSEntidade) : self
Parameters
- $OBSEntidade : mixed
Return values
selfsetPessoaFisiccaJuridicaEntidade()
Set the value of PessoaFisiccaJuridicaEntidade
public
setPessoaFisiccaJuridicaEntidade(mixed $PessoaFisiccaJuridicaEntidade) : self
Parameters
- $PessoaFisiccaJuridicaEntidade : mixed
Return values
selfsetPrazoPagamentoDias()
Set the value of prazoPagamentoDias
public
setPrazoPagamentoDias(mixed $prazoPagamentoDias) : self
Parameters
- $prazoPagamentoDias : mixed
Return values
selfsetProprioTerceiro()
Set the value of ProprioTerceiro
public
setProprioTerceiro(mixed $ProprioTerceiro) : self
Parameters
- $ProprioTerceiro : mixed
Return values
selfsetRazaoSocial()
Set the value of razaoSocial
public
setRazaoSocial(mixed $razaoSocial) : self
Parameters
- $razaoSocial : mixed
Return values
selfsetSiteEntidade()
Set the value of SiteEntidade
public
setSiteEntidade(mixed $SiteEntidade) : self
Parameters
- $SiteEntidade : mixed
Return values
selfsetStatus()
Set the value of status
public
setStatus(mixed $status) : self
Parameters
- $status : mixed
Return values
selfsetStatusVenda()
Set the value of statusVenda
public
setStatusVenda(mixed $statusVenda) : self
Parameters
- $statusVenda : mixed
Return values
selfsetTelefoneEntidade()
Set the value of TelefoneEntidade
public
setTelefoneEntidade(mixed $TelefoneEntidade) : self
Parameters
- $TelefoneEntidade : mixed
Return values
selfsetTerceiroEntidade()
Set the value of TerceiroEntidade
public
setTerceiroEntidade(mixed $TerceiroEntidade) : self
Parameters
- $TerceiroEntidade : mixed
Return values
selfsetTotalAnexo()
Set the value of totalAnexo
public
setTotalAnexo(mixed $totalAnexo) : self
Parameters
- $totalAnexo : mixed
Return values
selfsetTransportadoraEntidade()
Set the value of TransportadoraEntidade
public
setTransportadoraEntidade(mixed $TransportadoraEntidade) : self
Parameters
- $TransportadoraEntidade : 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 = '*'