UsuarioEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = ['exclude_fields' => ['DataHoraAlteracao', 'token']]
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = []
- database = \config\Config::DB_DEFAULT
- db_table = 'usuarios'
- pk_field = 'idUsuario'
- sanitize = []
- Estrutura = ['key' => 'rule']
- 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 = ['nomeUsuario' => ['required' => 'O campo Nome é requerido.'], 'loginUsuario' => ['required' => 'O campo Login é requerido.'], 'senhaUsuario' => ['required' => 'O campo Senha é requerido.'], 'emailUsuario' => ['required' => 'O campo E-mail é requerido.', 'email' => 'O campo E-mail não contem um email valido.'], 'tipoUsuario' => ['required' => 'O campo Tipo é requerido.'], 'status' => ['required' => 'O campo Status é requerido.'], 'cpf' => ['cpfCnpj' => 'CPF/CNPJ invalido.']]
- Estrutura = ['key' => ['keyRule' => 'Rule message']]
Properties
- $__horaFim : mixed
- $__horaInicio : mixed
- $__usuario_simulado : mixed
- $aprovaAssinaFinan : mixed
- $aprovaCotacao : mixed
- $aprovaRequisicao : mixed
- $areaAtuacao : mixed
- $cargo : mixed
- $codigoMobile : mixed
- $controleAcessoHorario : mixed
- $cpf : mixed
- $DataHora : mixed
- $DataHoraAlteracao : mixed
- $dataNascimento : mixed
- $dataultimoLogin : mixed
- $emailUsuario : mixed
- $emissorNFE : mixed
- $escolaridade : mixed
- $idEmpresa : mixed
- $idMunicipio : mixed
- $idPaginaInicial : mixed
- $idUsuario : mixed
- $idUsuarioAlcada : mixed
- $idUsuarioAlteracao : mixed
- $idUsuarioCopia : mixed
- $imagePerfil : mixed
- $liberaMobile : mixed
- $loginUsuario : mixed
- $nomeUsuario : mixed
- $opcao2FA : mixed
- $permissaoAcessoAPI : mixed
- $permissaoAlteraCustosProd : mixed
- $permissaoAprovarTransferencia : mixed
- $permissaoAtualizaCusto : mixed
- $permissaoCentralMensagem : mixed
- $permissaoChequeTerceiroStatus : mixed
- $permissaoEditarPesagem : mixed
- $permissaoExcluirJustificativa : mixed
- $permissaoFechamentoMes : mixed
- $permissaoFecharCompetencia : mixed
- $permissaoFinalizarCompras : mixed
- $permissaoFinalizarVendas : mixed
- $permissaoInventario : mixed
- $permissaoLoginDuasEtapas : mixed
- $permissaoMensagemWhatsapp : mixed
- $permissaoNotificaEmail : mixed
- $permissaoNovoAcesso : mixed
- $permissaoTalhao : mixed
- $permissaoVisualizarHolerite : mixed
- $posicao : mixed
- $responderDepois : mixed
- $screenRecord : mixed
- $secrect2FA : mixed
- $senhaUsuario : mixed
- $socioGestor : mixed
- $status : mixed
- $telefoneUsuario : mixed
- $tipoConsultor : mixed
- $tipoUsuario : mixed
- $token : mixed
- $tokenApi : mixed
- $valorAlcada : mixed
- $vinculoidFazenda : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAprovaAssinaFinan() : mixed
- Get the value of aprovaAssinaFinan
- getAprovaCotacao() : mixed
- Get the value of aprovaCotacao
- getAprovaRequisicao() : mixed
- Get the value of aprovaRequisicao
- getAreaAtuacao() : mixed
- Get the value of areaAtuacao
- getAuditlog() : mixed
- getCargo() : mixed
- Get the value of cargo
- getCodigoMobile() : mixed
- Get the value of codigoMobile
- getConst() : mixed
- getConstObj() : mixed
- getControleAcessoHorario() : mixed
- Get the value of controleAcessoHorario
- getCpf() : mixed
- Get the value of cpf
- getDatabase() : mixed
- getDataHora() : mixed
- Get the value of DataHora
- getDataHoraAlteracao() : mixed
- Get the value of DataHoraAlteracao
- getDataNascimento() : mixed
- Get the value of dataNascimento
- getDataultimoLogin() : mixed
- Get the value of dataultimoLogin
- getDBDriver() : mixed
- getDBTable() : mixed
- getEmailUsuario() : mixed
- Get the value of emailUsuario
- getEmissorNFE() : mixed
- Get the value of emissorNFE
- getEscolaridade() : mixed
- Get the value of escolaridade
- getHoraFim() : mixed
- Get the value of __horaFim
- getHoraInicio() : mixed
- Get the value of __horaInicio
- getIdEmpresa() : mixed
- Get the value of idEmpresa
- getIdMunicipio() : mixed
- Get the value of idMunicipio
- getIdPaginaInicial() : mixed
- Get the value of idPaginaInicial
- getIdUsuario() : mixed
- Get the value of idUsuario
- getIdUsuarioAlcada() : mixed
- Get the value of idUsuarioAlcada
- getIdUsuarioAlteracao() : mixed
- Get the value of idUsuarioAlteracao
- getIdUsuarioCopia() : mixed
- Get the value of idUsuarioCopia
- getImagePerfil() : mixed
- Get the value of imagePerfil
- getLiberaMobile() : mixed
- Get the value of liberaMobile
- getLoginUsuario() : mixed
- Get the value of loginUsuario
- getNomeUsuario() : mixed
- Get the value of nomeUsuario
- getOpcao2FA() : mixed
- Get the value of opcao2FA
- getPermissaoAcessoAPI() : mixed
- Get the value of permissaoAcessoAPI
- getPermissaoAlteraCustosProd() : mixed
- Get the value of permissaoAlteraCustosProd
- getPermissaoAprovarTransferencia() : mixed
- Get the value of permissaoAprovarTransferencia
- getPermissaoAtualizaCusto() : mixed
- Get the value of permissaoAtualizaCusto
- getPermissaoCentralMensagem() : mixed
- Get the value of permissaoCentralMensagem
- getpermissaoChequeTerceiroStatus() : mixed
- Get the value of permissaoChequeTerceiroStatus
- getPermissaoEditarPesagem() : mixed
- Get the value of permissaoEditarPesagem
- getPermissaoExcluirJustificativa() : mixed
- Get the value of permissaoExcluirJustificativa
- getPermissaoFechamentoMes() : mixed
- Get the value of permissaoFechamentoMes
- getPermissaoFecharCompetencia() : mixed
- Get the value of permissaoFecharCompetencia
- getPermissaoFinalizarCompras() : mixed
- Get the value of permissaoFinalizarCompras
- getPermissaoFinalizarVendas() : mixed
- Get the value of permissaoFinalizarVendas
- getPermissaoInventario() : mixed
- getPermissaoLoginDuasEtapas() : mixed
- Get the value of permissaoLoginDuasEtapas
- getPermissaoMensagemWhatsapp() : mixed
- Get the value of permissaoMensagemWhatsapp
- getPermissaoNotificaEmail() : mixed
- Get the value of permissaoNotificaEmail
- getPermissaoNovoAcesso() : mixed
- Get the value of permissaoNovoAcesso
- getPermissaoTalhao() : mixed
- getPermissaoVisualizarHolerite() : mixed
- Get the value of permissaoVisualizarHolerite
- getPosicao() : mixed
- Get the value of posicao
- getResponderDepois() : mixed
- Get the value of responderDepois
- getRole() : string
- Helper functions
- getScreenRecord() : mixed
- Get the value of screenRecord
- getSecrect2FA() : mixed
- Get the value of secrect2FA
- getSenhaUsuario() : mixed
- Get the value of senhaUsuario
- getSocioGestor() : mixed
- Get the value of socioGestor
- getStatus() : mixed
- Get the value of status
- getTable() : mixed
- getTelefoneUsuario() : mixed
- Get the value of telefoneUsuario
- getTipoConsultor() : mixed
- getTipoUsuario() : mixed
- Get the value of tipoUsuario
- getToken() : mixed
- getTokenApi() : mixed
- Get the value of tokenApi
- getUsuarioSimulado() : mixed
- Get the value of __usuario_simulado
- getValorAlcada() : mixed
- Get the value of valorAlcada
- getVinculoidFazenda() : mixed
- Get the value of vinculoidFazenda
- 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
- setAprovaAssinaFinan() : self
- Set the value of aprovaAssinaFinan
- setAprovaCotacao() : self
- Set the value of aprovaCotacao
- setAprovaRequisicao() : self
- Set the value of aprovaRequisicao
- setAreaAtuacao() : self
- Set the value of areaAtuacao
- setCargo() : self
- Set the value of cargo
- setCodigoMobile() : self
- Set the value of codigoMobile
- setControleAcessoHorario() : self
- Set the value of controleAcessoHorario
- setCpf() : self
- Set the value of cpf
- setDataHora() : self
- Set the value of DataHora
- setDataHoraAlteracao() : self
- Set the value of DataHoraAlteracao
- setDataNascimento() : self
- Set the value of dataNascimento
- setDataultimoLogin() : self
- Set the value of dataultimoLogin
- setEmailUsuario() : self
- Set the value of emailUsuario
- setEmissorNFE() : self
- Set the value of emissorNFE
- setEscolaridade() : self
- Set the value of escolaridade
- setHoraFim() : self
- Set the value of horaFim
- setHoraInicio() : self
- Set the value of horaInicio
- setIdEmpresa() : self
- Set the value of idEmpresa
- setIdMunicipio() : self
- Set the value of idMunicipio
- setIdPaginaInicial() : self
- Set the value of idPaginaInicial
- setIdUsuario() : self
- Set the value of idUsuario
- setIdUsuarioAlcada() : self
- Set the value of idUsuarioAlcada
- setIdUsuarioAlteracao() : self
- Set the value of idUsuarioAlteracao
- setIdUsuarioCopia() : self
- Set the value of idUsuarioCopia
- setImagePerfil() : self
- Set the value of imagePerfil
- setLiberaMobile() : self
- Set the value of liberaMobile
- setLoginUsuario() : self
- Set the value of loginUsuario
- setNomeUsuario() : self
- Set the value of nomeUsuario
- setOpcao2FA() : self
- Set the value of opcao2FA
- setPermissaoAcessoAPI() : self
- Set the value of permissaoAcessoAPI
- setPermissaoAlteraCustosProd() : self
- Set the value of permissaoAlteraCustosProd
- setPermissaoAprovarTransferencia() : self
- Set the value of permissaoAprovarTransferencia
- setPermissaoAtualizaCusto() : self
- Set the value of permissaoAtualizaCusto
- setPermissaoCentralMensagem() : self
- Set the value of permissaoCentralMensagem
- setpermissaoChequeTerceiroStatus() : self
- Set the value of permissaoChequeTerceiroStatus
- setPermissaoEditarPesagem() : self
- Set the value of permissaoEditarPesagem
- setPermissaoExcluirJustificativa() : self
- Set the value of permissaoExcluirJustificativa
- setPermissaoFechamentoMes() : self
- Set the value of permissaoFechamentoMes
- setPermissaoFecharCompetencia() : self
- Set the value of permissaoFecharCompetencia
- setPermissaoFinalizarCompras() : self
- Set the value of permissaoFinalizarCompras
- setpermissaoFinalizarVendas() : self
- Set the value of permissaoFinalizarVendas
- setPermissaoInventario() : mixed
- setPermissaoLoginDuasEtapas() : self
- Set the value of permissaoLoginDuasEtapas
- setPermissaoMensagemWhatsapp() : self
- Set the value of permissaoMensagemWhatsapp
- setPermissaoNotificaEmail() : self
- Set the value of permissaoNotificaEmail
- setPermissaoNovoAcesso() : self
- Set the value of permissaoNovoAcesso
- setPermissaoTalhao() : mixed
- setPermissaoVisualizarHolerite() : self
- Set the value of permissaoVisualizarHolerite
- setPosicao() : self
- Set the value of posicao
- setResponderDepois() : self
- Set the value of responderDepois
- setScreenRecord() : self
- Set the value of screenRecord
- setSecrect2FA() : self
- Set the value of secrect2FA
- setSenhaUsuario() : self
- Set the value of senhaUsuario
- setSocioGestor() : self
- Set the value of socioGestor
- setStatus() : self
- Set the value of status
- setTelefoneUsuario() : self
- Set the value of telefoneUsuario
- setTipoConsultor() : mixed
- setTipoUsuario() : self
- Set the value of tipoUsuario
- setToken() : mixed
- setTokenApi() : self
- Set the value of tokenApi
- setUsuarioSimulado() : self
- Set the value of __usuario_simulado
- setValorAlcada() : self
- Set the value of valorAlcada
- setVinculoidFazenda() : self
- Set the value of vinculoidFazenda
- 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' => ['DataHoraAlteracao', 'token']]
const_values
public
mixed
const_values
= []
database
public
mixed
database
= \config\Config::DB_DEFAULT
db_table
public
mixed
db_table
= 'usuarios'
pk_field
public
mixed
pk_field
= 'idUsuario'
sanitize
Estrutura = ['key' => 'rule']
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
Estrutura = ['key' => ['keyRule' => 'Rule message']]
public
mixed
validations
= ['nomeUsuario' => ['required' => 'O campo Nome é requerido.'], 'loginUsuario' => ['required' => 'O campo Login é requerido.'], 'senhaUsuario' => ['required' => 'O campo Senha é requerido.'], 'emailUsuario' => ['required' => 'O campo E-mail é requerido.', 'email' => 'O campo E-mail não contem um email valido.'], 'tipoUsuario' => ['required' => 'O campo Tipo é requerido.'], 'status' => ['required' => 'O campo Status é requerido.'], 'cpf' => ['cpfCnpj' => 'CPF/CNPJ invalido.']]
Properties
$__horaFim
private
mixed
$__horaFim
$__horaInicio
private
mixed
$__horaInicio
$__usuario_simulado
private
mixed
$__usuario_simulado
= null
$aprovaAssinaFinan
private
mixed
$aprovaAssinaFinan
$aprovaCotacao
private
mixed
$aprovaCotacao
$aprovaRequisicao
private
mixed
$aprovaRequisicao
$areaAtuacao
private
mixed
$areaAtuacao
$cargo
private
mixed
$cargo
$codigoMobile
private
mixed
$codigoMobile
$controleAcessoHorario
private
mixed
$controleAcessoHorario
$cpf
private
mixed
$cpf
$DataHora
private
mixed
$DataHora
$DataHoraAlteracao
private
mixed
$DataHoraAlteracao
$dataNascimento
private
mixed
$dataNascimento
$dataultimoLogin
private
mixed
$dataultimoLogin
$emailUsuario
private
mixed
$emailUsuario
$emissorNFE
private
mixed
$emissorNFE
$escolaridade
private
mixed
$escolaridade
$idEmpresa
private
mixed
$idEmpresa
$idMunicipio
private
mixed
$idMunicipio
$idPaginaInicial
private
mixed
$idPaginaInicial
$idUsuario
private
mixed
$idUsuario
$idUsuarioAlcada
private
mixed
$idUsuarioAlcada
$idUsuarioAlteracao
private
mixed
$idUsuarioAlteracao
$idUsuarioCopia
private
mixed
$idUsuarioCopia
$imagePerfil
private
mixed
$imagePerfil
$liberaMobile
private
mixed
$liberaMobile
$loginUsuario
private
mixed
$loginUsuario
$nomeUsuario
private
mixed
$nomeUsuario
$opcao2FA
private
mixed
$opcao2FA
$permissaoAcessoAPI
private
mixed
$permissaoAcessoAPI
$permissaoAlteraCustosProd
private
mixed
$permissaoAlteraCustosProd
$permissaoAprovarTransferencia
private
mixed
$permissaoAprovarTransferencia
$permissaoAtualizaCusto
private
mixed
$permissaoAtualizaCusto
$permissaoCentralMensagem
private
mixed
$permissaoCentralMensagem
$permissaoChequeTerceiroStatus
private
mixed
$permissaoChequeTerceiroStatus
$permissaoEditarPesagem
private
mixed
$permissaoEditarPesagem
$permissaoExcluirJustificativa
private
mixed
$permissaoExcluirJustificativa
$permissaoFechamentoMes
private
mixed
$permissaoFechamentoMes
$permissaoFecharCompetencia
private
mixed
$permissaoFecharCompetencia
$permissaoFinalizarCompras
private
mixed
$permissaoFinalizarCompras
$permissaoFinalizarVendas
private
mixed
$permissaoFinalizarVendas
$permissaoInventario
private
mixed
$permissaoInventario
$permissaoLoginDuasEtapas
private
mixed
$permissaoLoginDuasEtapas
$permissaoMensagemWhatsapp
private
mixed
$permissaoMensagemWhatsapp
$permissaoNotificaEmail
private
mixed
$permissaoNotificaEmail
$permissaoNovoAcesso
private
mixed
$permissaoNovoAcesso
$permissaoTalhao
private
mixed
$permissaoTalhao
$permissaoVisualizarHolerite
private
mixed
$permissaoVisualizarHolerite
$posicao
private
mixed
$posicao
$responderDepois
private
mixed
$responderDepois
$screenRecord
private
mixed
$screenRecord
$secrect2FA
private
mixed
$secrect2FA
$senhaUsuario
private
mixed
$senhaUsuario
$socioGestor
private
mixed
$socioGestor
$status
private
mixed
$status
$telefoneUsuario
private
mixed
$telefoneUsuario
$tipoConsultor
private
mixed
$tipoConsultor
$tipoUsuario
private
mixed
$tipoUsuario
$token
private
mixed
$token
$tokenApi
private
mixed
$tokenApi
$valorAlcada
private
mixed
$valorAlcada
$vinculoidFazenda
private
mixed
$vinculoidFazenda
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 = []
getAprovaAssinaFinan()
Get the value of aprovaAssinaFinan
public
getAprovaAssinaFinan() : mixed
getAprovaCotacao()
Get the value of aprovaCotacao
public
getAprovaCotacao() : mixed
getAprovaRequisicao()
Get the value of aprovaRequisicao
public
getAprovaRequisicao() : mixed
getAreaAtuacao()
Get the value of areaAtuacao
public
getAreaAtuacao() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCargo()
Get the value of cargo
public
getCargo() : mixed
getCodigoMobile()
Get the value of codigoMobile
public
getCodigoMobile() : 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
getControleAcessoHorario()
Get the value of controleAcessoHorario
public
getControleAcessoHorario() : mixed
getCpf()
Get the value of cpf
public
getCpf() : mixed
getDatabase()
public
getDatabase() : mixed
getDataHora()
Get the value of DataHora
public
getDataHora() : mixed
getDataHoraAlteracao()
Get the value of DataHoraAlteracao
public
getDataHoraAlteracao() : mixed
getDataNascimento()
Get the value of dataNascimento
public
getDataNascimento() : mixed
getDataultimoLogin()
Get the value of dataultimoLogin
public
getDataultimoLogin() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getEmailUsuario()
Get the value of emailUsuario
public
getEmailUsuario() : mixed
getEmissorNFE()
Get the value of emissorNFE
public
getEmissorNFE() : mixed
getEscolaridade()
Get the value of escolaridade
public
getEscolaridade() : mixed
getHoraFim()
Get the value of __horaFim
public
getHoraFim() : mixed
getHoraInicio()
Get the value of __horaInicio
public
getHoraInicio() : mixed
getIdEmpresa()
Get the value of idEmpresa
public
getIdEmpresa() : mixed
getIdMunicipio()
Get the value of idMunicipio
public
getIdMunicipio() : mixed
getIdPaginaInicial()
Get the value of idPaginaInicial
public
getIdPaginaInicial() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getIdUsuarioAlcada()
Get the value of idUsuarioAlcada
public
getIdUsuarioAlcada() : mixed
getIdUsuarioAlteracao()
Get the value of idUsuarioAlteracao
public
getIdUsuarioAlteracao() : mixed
getIdUsuarioCopia()
Get the value of idUsuarioCopia
public
getIdUsuarioCopia() : mixed
getImagePerfil()
Get the value of imagePerfil
public
getImagePerfil() : mixed
getLiberaMobile()
Get the value of liberaMobile
public
getLiberaMobile() : mixed
getLoginUsuario()
Get the value of loginUsuario
public
getLoginUsuario() : mixed
getNomeUsuario()
Get the value of nomeUsuario
public
getNomeUsuario() : mixed
getOpcao2FA()
Get the value of opcao2FA
public
getOpcao2FA() : mixed
getPermissaoAcessoAPI()
Get the value of permissaoAcessoAPI
public
getPermissaoAcessoAPI() : mixed
getPermissaoAlteraCustosProd()
Get the value of permissaoAlteraCustosProd
public
getPermissaoAlteraCustosProd() : mixed
getPermissaoAprovarTransferencia()
Get the value of permissaoAprovarTransferencia
public
getPermissaoAprovarTransferencia() : mixed
getPermissaoAtualizaCusto()
Get the value of permissaoAtualizaCusto
public
getPermissaoAtualizaCusto() : mixed
getPermissaoCentralMensagem()
Get the value of permissaoCentralMensagem
public
getPermissaoCentralMensagem() : mixed
getpermissaoChequeTerceiroStatus()
Get the value of permissaoChequeTerceiroStatus
public
getpermissaoChequeTerceiroStatus() : mixed
getPermissaoEditarPesagem()
Get the value of permissaoEditarPesagem
public
getPermissaoEditarPesagem() : mixed
getPermissaoExcluirJustificativa()
Get the value of permissaoExcluirJustificativa
public
getPermissaoExcluirJustificativa() : mixed
getPermissaoFechamentoMes()
Get the value of permissaoFechamentoMes
public
getPermissaoFechamentoMes() : mixed
getPermissaoFecharCompetencia()
Get the value of permissaoFecharCompetencia
public
getPermissaoFecharCompetencia() : mixed
getPermissaoFinalizarCompras()
Get the value of permissaoFinalizarCompras
public
getPermissaoFinalizarCompras() : mixed
getPermissaoFinalizarVendas()
Get the value of permissaoFinalizarVendas
public
getPermissaoFinalizarVendas() : mixed
getPermissaoInventario()
public
getPermissaoInventario() : mixed
getPermissaoLoginDuasEtapas()
Get the value of permissaoLoginDuasEtapas
public
getPermissaoLoginDuasEtapas() : mixed
getPermissaoMensagemWhatsapp()
Get the value of permissaoMensagemWhatsapp
public
getPermissaoMensagemWhatsapp() : mixed
getPermissaoNotificaEmail()
Get the value of permissaoNotificaEmail
public
getPermissaoNotificaEmail() : mixed
getPermissaoNovoAcesso()
Get the value of permissaoNovoAcesso
public
getPermissaoNovoAcesso() : mixed
getPermissaoTalhao()
public
getPermissaoTalhao() : mixed
getPermissaoVisualizarHolerite()
Get the value of permissaoVisualizarHolerite
public
getPermissaoVisualizarHolerite() : mixed
getPosicao()
Get the value of posicao
public
getPosicao() : mixed
getResponderDepois()
Get the value of responderDepois
public
getResponderDepois() : mixed
getRole()
Helper functions
public
getRole() : string
Return values
stringgetScreenRecord()
Get the value of screenRecord
public
getScreenRecord() : mixed
getSecrect2FA()
Get the value of secrect2FA
public
getSecrect2FA() : mixed
getSenhaUsuario()
Get the value of senhaUsuario
public
getSenhaUsuario() : mixed
getSocioGestor()
Get the value of socioGestor
public
getSocioGestor() : mixed
getStatus()
Get the value of status
public
getStatus() : mixed
getTable()
public
getTable() : mixed
getTelefoneUsuario()
Get the value of telefoneUsuario
public
getTelefoneUsuario() : mixed
getTipoConsultor()
public
getTipoConsultor() : mixed
getTipoUsuario()
Get the value of tipoUsuario
public
getTipoUsuario() : mixed
getToken()
public
getToken() : mixed
getTokenApi()
Get the value of tokenApi
public
getTokenApi() : mixed
getUsuarioSimulado()
Get the value of __usuario_simulado
public
getUsuarioSimulado() : mixed
getValorAlcada()
Get the value of valorAlcada
public
getValorAlcada() : mixed
getVinculoidFazenda()
Get the value of vinculoidFazenda
public
getVinculoidFazenda() : 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
setAprovaAssinaFinan()
Set the value of aprovaAssinaFinan
public
setAprovaAssinaFinan(mixed $aprovaAssinaFinan) : self
Parameters
- $aprovaAssinaFinan : mixed
Return values
selfsetAprovaCotacao()
Set the value of aprovaCotacao
public
setAprovaCotacao(mixed $aprovaCotacao) : self
Parameters
- $aprovaCotacao : mixed
Return values
selfsetAprovaRequisicao()
Set the value of aprovaRequisicao
public
setAprovaRequisicao(mixed $aprovaRequisicao) : self
Parameters
- $aprovaRequisicao : mixed
Return values
selfsetAreaAtuacao()
Set the value of areaAtuacao
public
setAreaAtuacao(mixed $areaAtuacao) : self
Parameters
- $areaAtuacao : mixed
Return values
selfsetCargo()
Set the value of cargo
public
setCargo(mixed $cargo) : self
Parameters
- $cargo : mixed
Return values
selfsetCodigoMobile()
Set the value of codigoMobile
public
setCodigoMobile(mixed $codigoMobile) : self
Parameters
- $codigoMobile : mixed
Return values
selfsetControleAcessoHorario()
Set the value of controleAcessoHorario
public
setControleAcessoHorario(mixed $controleAcessoHorario) : self
Parameters
- $controleAcessoHorario : mixed
Return values
selfsetCpf()
Set the value of cpf
public
setCpf(mixed $cpf) : self
Parameters
- $cpf : mixed
Return values
selfsetDataHora()
Set the value of DataHora
public
setDataHora(mixed $DataHora) : self
Parameters
- $DataHora : mixed
Return values
selfsetDataHoraAlteracao()
Set the value of DataHoraAlteracao
public
setDataHoraAlteracao(mixed $DataHoraAlteracao) : self
Parameters
- $DataHoraAlteracao : mixed
Return values
selfsetDataNascimento()
Set the value of dataNascimento
public
setDataNascimento(mixed $dataNascimento) : self
Parameters
- $dataNascimento : mixed
Return values
selfsetDataultimoLogin()
Set the value of dataultimoLogin
public
setDataultimoLogin(mixed $dataultimoLogin) : self
Parameters
- $dataultimoLogin : mixed
Return values
selfsetEmailUsuario()
Set the value of emailUsuario
public
setEmailUsuario(mixed $emailUsuario) : self
Parameters
- $emailUsuario : mixed
Return values
selfsetEmissorNFE()
Set the value of emissorNFE
public
setEmissorNFE(mixed $emissorNFE) : self
Parameters
- $emissorNFE : mixed
Return values
selfsetEscolaridade()
Set the value of escolaridade
public
setEscolaridade(mixed $escolaridade) : self
Parameters
- $escolaridade : mixed
Return values
selfsetHoraFim()
Set the value of horaFim
public
setHoraFim(mixed $horaFim) : self
Parameters
- $horaFim : mixed
Return values
selfsetHoraInicio()
Set the value of horaInicio
public
setHoraInicio(mixed $horaInicio) : self
Parameters
- $horaInicio : mixed
Return values
selfsetIdEmpresa()
Set the value of idEmpresa
public
setIdEmpresa(mixed $idEmpresa) : self
Parameters
- $idEmpresa : mixed
Return values
selfsetIdMunicipio()
Set the value of idMunicipio
public
setIdMunicipio(mixed $idMunicipio) : self
Parameters
- $idMunicipio : mixed
Return values
selfsetIdPaginaInicial()
Set the value of idPaginaInicial
public
setIdPaginaInicial(mixed $idPaginaInicial) : self
Parameters
- $idPaginaInicial : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetIdUsuarioAlcada()
Set the value of idUsuarioAlcada
public
setIdUsuarioAlcada(mixed $idUsuarioAlcada) : self
Parameters
- $idUsuarioAlcada : mixed
Return values
selfsetIdUsuarioAlteracao()
Set the value of idUsuarioAlteracao
public
setIdUsuarioAlteracao(mixed $idUsuarioAlteracao) : self
Parameters
- $idUsuarioAlteracao : mixed
Return values
selfsetIdUsuarioCopia()
Set the value of idUsuarioCopia
public
setIdUsuarioCopia(mixed $idUsuarioCopia) : self
Parameters
- $idUsuarioCopia : mixed
Return values
selfsetImagePerfil()
Set the value of imagePerfil
public
setImagePerfil(mixed $imagePerfil) : self
Parameters
- $imagePerfil : mixed
Return values
selfsetLiberaMobile()
Set the value of liberaMobile
public
setLiberaMobile(mixed $liberaMobile) : self
Parameters
- $liberaMobile : mixed
Return values
selfsetLoginUsuario()
Set the value of loginUsuario
public
setLoginUsuario(mixed $loginUsuario) : self
Parameters
- $loginUsuario : mixed
Return values
selfsetNomeUsuario()
Set the value of nomeUsuario
public
setNomeUsuario(mixed $nomeUsuario) : self
Parameters
- $nomeUsuario : mixed
Return values
selfsetOpcao2FA()
Set the value of opcao2FA
public
setOpcao2FA(mixed $opcao2FA) : self
Parameters
- $opcao2FA : mixed
Return values
selfsetPermissaoAcessoAPI()
Set the value of permissaoAcessoAPI
public
setPermissaoAcessoAPI(mixed $permissaoAcessoAPI) : self
Parameters
- $permissaoAcessoAPI : mixed
Return values
selfsetPermissaoAlteraCustosProd()
Set the value of permissaoAlteraCustosProd
public
setPermissaoAlteraCustosProd(mixed $permissaoAlteraCustosProd) : self
Parameters
- $permissaoAlteraCustosProd : mixed
Return values
selfsetPermissaoAprovarTransferencia()
Set the value of permissaoAprovarTransferencia
public
setPermissaoAprovarTransferencia(mixed $permissaoAprovarTransferencia) : self
Parameters
- $permissaoAprovarTransferencia : mixed
Return values
selfsetPermissaoAtualizaCusto()
Set the value of permissaoAtualizaCusto
public
setPermissaoAtualizaCusto(mixed $permissaoAtualizaCusto) : self
Parameters
- $permissaoAtualizaCusto : mixed
Return values
selfsetPermissaoCentralMensagem()
Set the value of permissaoCentralMensagem
public
setPermissaoCentralMensagem(mixed $permissaoCentralMensagem) : self
Parameters
- $permissaoCentralMensagem : mixed
Return values
selfsetpermissaoChequeTerceiroStatus()
Set the value of permissaoChequeTerceiroStatus
public
setpermissaoChequeTerceiroStatus(mixed $permissaoChequeTerceiroStatus) : self
Parameters
- $permissaoChequeTerceiroStatus : mixed
Return values
selfsetPermissaoEditarPesagem()
Set the value of permissaoEditarPesagem
public
setPermissaoEditarPesagem(mixed $permissaoEditarPesagem) : self
Parameters
- $permissaoEditarPesagem : mixed
Return values
selfsetPermissaoExcluirJustificativa()
Set the value of permissaoExcluirJustificativa
public
setPermissaoExcluirJustificativa(mixed $permissaoExcluirJustificativa) : self
Parameters
- $permissaoExcluirJustificativa : mixed
Return values
selfsetPermissaoFechamentoMes()
Set the value of permissaoFechamentoMes
public
setPermissaoFechamentoMes(mixed $permissaoFechamentoMes) : self
Parameters
- $permissaoFechamentoMes : mixed
Return values
selfsetPermissaoFecharCompetencia()
Set the value of permissaoFecharCompetencia
public
setPermissaoFecharCompetencia(mixed $permissaoFecharCompetencia) : self
Parameters
- $permissaoFecharCompetencia : mixed
Return values
selfsetPermissaoFinalizarCompras()
Set the value of permissaoFinalizarCompras
public
setPermissaoFinalizarCompras(mixed $permissaoFinalizarCompras) : self
Parameters
- $permissaoFinalizarCompras : mixed
Return values
selfsetpermissaoFinalizarVendas()
Set the value of permissaoFinalizarVendas
public
setpermissaoFinalizarVendas(mixed $permissaoFinalizarVendas) : self
Parameters
- $permissaoFinalizarVendas : mixed
Return values
selfsetPermissaoInventario()
public
setPermissaoInventario(mixed $permissaoInventario) : mixed
Parameters
- $permissaoInventario : mixed
setPermissaoLoginDuasEtapas()
Set the value of permissaoLoginDuasEtapas
public
setPermissaoLoginDuasEtapas(mixed $permissaoLoginDuasEtapas) : self
Parameters
- $permissaoLoginDuasEtapas : mixed
Return values
selfsetPermissaoMensagemWhatsapp()
Set the value of permissaoMensagemWhatsapp
public
setPermissaoMensagemWhatsapp(mixed $permissaoMensagemWhatsapp) : self
Parameters
- $permissaoMensagemWhatsapp : mixed
Return values
selfsetPermissaoNotificaEmail()
Set the value of permissaoNotificaEmail
public
setPermissaoNotificaEmail(mixed $permissaoNotificaEmail) : self
Parameters
- $permissaoNotificaEmail : mixed
Return values
selfsetPermissaoNovoAcesso()
Set the value of permissaoNovoAcesso
public
setPermissaoNovoAcesso(mixed $permissaoNovoAcesso) : self
Parameters
- $permissaoNovoAcesso : mixed
Return values
selfsetPermissaoTalhao()
public
setPermissaoTalhao(mixed $permissaoTalhao) : mixed
Parameters
- $permissaoTalhao : mixed
setPermissaoVisualizarHolerite()
Set the value of permissaoVisualizarHolerite
public
setPermissaoVisualizarHolerite(mixed $permissaoVisualizarHolerite) : self
Parameters
- $permissaoVisualizarHolerite : mixed
Return values
selfsetPosicao()
Set the value of posicao
public
setPosicao(mixed $posicao) : self
Parameters
- $posicao : mixed
Return values
selfsetResponderDepois()
Set the value of responderDepois
public
setResponderDepois(mixed $responderDepois) : self
Parameters
- $responderDepois : mixed
Return values
selfsetScreenRecord()
Set the value of screenRecord
public
setScreenRecord(mixed $screenRecord) : self
Parameters
- $screenRecord : mixed
Return values
selfsetSecrect2FA()
Set the value of secrect2FA
public
setSecrect2FA(mixed $secrect2FA) : self
Parameters
- $secrect2FA : mixed
Return values
selfsetSenhaUsuario()
Set the value of senhaUsuario
public
setSenhaUsuario(mixed $senhaUsuario) : self
Parameters
- $senhaUsuario : mixed
Return values
selfsetSocioGestor()
Set the value of socioGestor
public
setSocioGestor(mixed $socioGestor) : self
Parameters
- $socioGestor : mixed
Return values
selfsetStatus()
Set the value of status
public
setStatus(mixed $status) : self
Parameters
- $status : mixed
Return values
selfsetTelefoneUsuario()
Set the value of telefoneUsuario
public
setTelefoneUsuario(mixed $telefoneUsuario) : self
Parameters
- $telefoneUsuario : mixed
Return values
selfsetTipoConsultor()
public
setTipoConsultor(mixed $tipoConsultor) : mixed
Parameters
- $tipoConsultor : mixed
setTipoUsuario()
Set the value of tipoUsuario
public
setTipoUsuario(mixed $tipoUsuario) : self
Parameters
- $tipoUsuario : mixed
Return values
selfsetToken()
public
setToken(mixed $token) : mixed
Parameters
- $token : mixed
setTokenApi()
Set the value of tokenApi
public
setTokenApi(mixed $tokenApi) : self
Parameters
- $tokenApi : mixed
Return values
selfsetUsuarioSimulado()
Set the value of __usuario_simulado
public
setUsuarioSimulado(mixed $usuario_simulado) : self
Parameters
- $usuario_simulado : mixed
Return values
selfsetValorAlcada()
Set the value of valorAlcada
public
setValorAlcada(mixed $valorAlcada) : self
Parameters
- $valorAlcada : mixed
Return values
selfsetVinculoidFazenda()
Set the value of vinculoidFazenda
public
setVinculoidFazenda(mixed $vinculoidFazenda) : self
Parameters
- $vinculoidFazenda : 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 = '*'