CadPastagemServicoExecutaPessoasEntity
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 = 'cad_pastagem_servicos_executa_pessoas'
- pk_field = 'idServicoFunc'
- 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 = ['idExeServico' => ['required' => 'O campo Id Serviço é requerido.'], 'custoHoraMB' => ['required' => 'O campo Custo Hora é requerido.'], 'tipo' => ['required' => 'O campo Tipo é requerido.'], 'ultimoSalarioPago' => ['required' => 'O campo Ultimo Salário Pago é requerido.'], 'tipoServico' => ['required' => 'O campo Serviço com é requerido.']]
- Estrutura = ['key' => ['keyRule' => 'Rule message']]
Properties
- $bracalLote : mixed
- $custoHoraMB : mixed
- $custoHoraPadrao : mixed
- $empresaFuncINTSYS : mixed
- $eventoINTSYS : mixed
- $horasDia : mixed
- $idEntidade : mixed
- $idExeServico : mixed
- $idMarcacaoINTSYS : mixed
- $idServicoFunc : mixed
- $qtidadeHora : mixed
- $qtidadeProducao : mixed
- $tipo : mixed
- $tipoServico : mixed
- $ultimoSalarioPago : mixed
- $valorProducao : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAuditlog() : mixed
- getBracalLote() : mixed
- Get the value of bracalLote
- getConst() : mixed
- getConstObj() : mixed
- getCustoHoraMB() : mixed
- Get the value of custoHoraMB
- getCustoHoraPadrao() : mixed
- Get the value of custoHoraPadrao
- getDatabase() : mixed
- getDBDriver() : mixed
- getDBTable() : mixed
- getEmpresaFuncINTSYS() : mixed
- Get the value of empresaFuncINTSYS
- getEventoINTSYS() : mixed
- Get the value of eventoINTSYS
- getHorasDia() : mixed
- Get the value of horasDia
- getIdEntidade() : mixed
- Get the value of idEntidade
- getIdExeServico() : mixed
- Get the value of idExeServico
- getIdMarcacaoINTSYS() : mixed
- Get the value of idMarcacaoINTSYS
- getIdServicoFunc() : mixed
- Get the value of idServicoFunc
- getQtidadeHora() : mixed
- Get the value of qtidadeHora
- getQtidadeProducao() : mixed
- Get the value of qtidadeProducao
- getTable() : mixed
- getTipo() : mixed
- Get the value of tipo
- getTipoServico() : mixed
- Get the value of tipoServico
- getUltimoSalarioPago() : mixed
- Get the value of ultimoSalarioPago
- getValorProducao() : mixed
- Get the value of valorProducao
- 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
- setBracalLote() : self
- Set the value of bracalLote
- setCustoHoraMB() : self
- Set the value of custoHoraMB
- setCustoHoraPadrao() : self
- Set the value of custoHoraPadrao
- setEmpresaFuncINTSYS() : self
- Set the value of empresaFuncINTSYS
- setEventoINTSYS() : self
- Set the value of eventoINTSYS
- setHorasDia() : self
- Set the value of horasDia
- setIdEntidade() : self
- Set the value of idEntidade
- setIdExeServico() : self
- Set the value of idExeServico
- setIdMarcacaoINTSYS() : self
- Set the value of idMarcacaoINTSYS
- setIdServicoFunc() : self
- Set the value of idServicoFunc
- setQtidadeHora() : self
- Set the value of qtidadeHora
- setQtidadeProducao() : self
- Set the value of qtidadeProducao
- setTipo() : self
- Set the value of tipo
- setTipoServico() : self
- Set the value of tipoServico
- setUltimoSalarioPago() : self
- Set the value of ultimoSalarioPago
- setValorProducao() : self
- Set the value of valorProducao
- 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
= 'cad_pastagem_servicos_executa_pessoas'
pk_field
public
mixed
pk_field
= 'idServicoFunc'
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
= ['idExeServico' => ['required' => 'O campo Id Serviço é requerido.'], 'custoHoraMB' => ['required' => 'O campo Custo Hora é requerido.'], 'tipo' => ['required' => 'O campo Tipo é requerido.'], 'ultimoSalarioPago' => ['required' => 'O campo Ultimo Salário Pago é requerido.'], 'tipoServico' => ['required' => 'O campo Serviço com é requerido.']]
Properties
$bracalLote
private
mixed
$bracalLote
$custoHoraMB
private
mixed
$custoHoraMB
$custoHoraPadrao
private
mixed
$custoHoraPadrao
$empresaFuncINTSYS
private
mixed
$empresaFuncINTSYS
$eventoINTSYS
private
mixed
$eventoINTSYS
$horasDia
private
mixed
$horasDia
$idEntidade
private
mixed
$idEntidade
$idExeServico
private
mixed
$idExeServico
$idMarcacaoINTSYS
private
mixed
$idMarcacaoINTSYS
$idServicoFunc
private
mixed
$idServicoFunc
$qtidadeHora
private
mixed
$qtidadeHora
$qtidadeProducao
private
mixed
$qtidadeProducao
$tipo
private
mixed
$tipo
$tipoServico
private
mixed
$tipoServico
$ultimoSalarioPago
private
mixed
$ultimoSalarioPago
$valorProducao
private
mixed
$valorProducao
Methods
__construct()
public
__construct([array<string|int, mixed> $values = [] ]) : mixed
Parameters
- $values : array<string|int, mixed> = []
delete()
public
delete(mixed $motivo) : mixed
Parameters
- $motivo : mixed
delete_where()
public
static delete_where(mixed $motivo[, mixed $where = [] ]) : mixed
Parameters
- $motivo : mixed
- $where : mixed = []
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getBracalLote()
Get the value of bracalLote
public
getBracalLote() : 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
getCustoHoraMB()
Get the value of custoHoraMB
public
getCustoHoraMB() : mixed
getCustoHoraPadrao()
Get the value of custoHoraPadrao
public
getCustoHoraPadrao() : mixed
getDatabase()
public
getDatabase() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getEmpresaFuncINTSYS()
Get the value of empresaFuncINTSYS
public
getEmpresaFuncINTSYS() : mixed
getEventoINTSYS()
Get the value of eventoINTSYS
public
getEventoINTSYS() : mixed
getHorasDia()
Get the value of horasDia
public
getHorasDia() : mixed
getIdEntidade()
Get the value of idEntidade
public
getIdEntidade() : mixed
getIdExeServico()
Get the value of idExeServico
public
getIdExeServico() : mixed
getIdMarcacaoINTSYS()
Get the value of idMarcacaoINTSYS
public
getIdMarcacaoINTSYS() : mixed
getIdServicoFunc()
Get the value of idServicoFunc
public
getIdServicoFunc() : mixed
getQtidadeHora()
Get the value of qtidadeHora
public
getQtidadeHora() : mixed
getQtidadeProducao()
Get the value of qtidadeProducao
public
getQtidadeProducao() : mixed
getTable()
public
getTable() : mixed
getTipo()
Get the value of tipo
public
getTipo() : mixed
getTipoServico()
Get the value of tipoServico
public
getTipoServico() : mixed
getUltimoSalarioPago()
Get the value of ultimoSalarioPago
public
getUltimoSalarioPago() : mixed
getValorProducao()
Get the value of valorProducao
public
getValorProducao() : 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
setBracalLote()
Set the value of bracalLote
public
setBracalLote(mixed $bracalLote) : self
Parameters
- $bracalLote : mixed
Return values
selfsetCustoHoraMB()
Set the value of custoHoraMB
public
setCustoHoraMB(mixed $custoHoraMB) : self
Parameters
- $custoHoraMB : mixed
Return values
selfsetCustoHoraPadrao()
Set the value of custoHoraPadrao
public
setCustoHoraPadrao(mixed $custoHoraPadrao) : self
Parameters
- $custoHoraPadrao : mixed
Return values
selfsetEmpresaFuncINTSYS()
Set the value of empresaFuncINTSYS
public
setEmpresaFuncINTSYS(mixed $empresaFuncINTSYS) : self
Parameters
- $empresaFuncINTSYS : mixed
Return values
selfsetEventoINTSYS()
Set the value of eventoINTSYS
public
setEventoINTSYS(mixed $eventoINTSYS) : self
Parameters
- $eventoINTSYS : mixed
Return values
selfsetHorasDia()
Set the value of horasDia
public
setHorasDia(mixed $horasDia) : self
Parameters
- $horasDia : mixed
Return values
selfsetIdEntidade()
Set the value of idEntidade
public
setIdEntidade(mixed $idEntidade) : self
Parameters
- $idEntidade : mixed
Return values
selfsetIdExeServico()
Set the value of idExeServico
public
setIdExeServico(mixed $idExeServico) : self
Parameters
- $idExeServico : mixed
Return values
selfsetIdMarcacaoINTSYS()
Set the value of idMarcacaoINTSYS
public
setIdMarcacaoINTSYS(mixed $idMarcacaoINTSYS) : self
Parameters
- $idMarcacaoINTSYS : mixed
Return values
selfsetIdServicoFunc()
Set the value of idServicoFunc
public
setIdServicoFunc(mixed $idServicoFunc) : self
Parameters
- $idServicoFunc : mixed
Return values
selfsetQtidadeHora()
Set the value of qtidadeHora
public
setQtidadeHora(mixed $qtidadeHora) : self
Parameters
- $qtidadeHora : mixed
Return values
selfsetQtidadeProducao()
Set the value of qtidadeProducao
public
setQtidadeProducao(mixed $qtidadeProducao) : self
Parameters
- $qtidadeProducao : mixed
Return values
selfsetTipo()
Set the value of tipo
public
setTipo(mixed $tipo) : self
Parameters
- $tipo : mixed
Return values
selfsetTipoServico()
Set the value of tipoServico
public
setTipoServico(mixed $tipoServico) : self
Parameters
- $tipoServico : mixed
Return values
selfsetUltimoSalarioPago()
Set the value of ultimoSalarioPago
public
setUltimoSalarioPago(mixed $ultimoSalarioPago) : self
Parameters
- $ultimoSalarioPago : mixed
Return values
selfsetValorProducao()
Set the value of valorProducao
public
setValorProducao(mixed $valorProducao) : self
Parameters
- $valorProducao : 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 = '*'