ProcessoColheitaItemEntity
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 = 'cad_produtos_perdas_sobras'
- EMPRESTIMO = "8"
- pk_field = 'idPerdaSobra'
- sanitize = []
- Estrutura = ['key' => 'rule']
- security = ['delete' => 'src\models\ProcessoColheitaItemSecurity::securityDelete']
- Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
- TIPO_COLHEITA = "3"
- TIPO_DEVOLUCAO = "4"
- TIPO_DEVOLUCAO_CLIENTE = "7"
- TIPO_DEVOLUCAO_EMPRESTIMO = "9"
- TIPO_INVENTARIO = "5"
- TIPO_PERDAS_SAIDAS = "0"
- TIPO_REENTRADA = "6"
- TIPO_SOBRAS_ENTRADA = "1"
- TIPO_USO = "2"
- tracking = true
- validations = ['data' => ['required' => 'O campo Data é requerido.'], 'AnoAgricolaSafra' => ['required' => 'O campo Ano Safra é requerido.'], 'tipo' => ['required' => 'O campo Tipo é requerido.']]
- Estrutura = ['key' => ['keyRule' => 'Rule message']]
Properties
- $AnoAgricola : mixed
- $AnoAgricolaSafra : mixed
- $codigoRomaneio : mixed
- $custoUnitarioProduto : mixed
- $custoUnitUltimaCompra : mixed
- $data : mixed
- $dataHora : mixed
- $descontoAvariados : mixed
- $descontoEsverdeado : mixed
- $descontoImpureza : mixed
- $descontoUmidade : mixed
- $descricao : mixed
- $idAtivo : mixed
- $idContasPagar : mixed
- $idDepartamento : mixed
- $idDeposito : mixed
- $idEntidade : mixed
- $idEntidadeSolicitante : mixed
- $idEntradaEntrega : mixed
- $idExeServico : mixed
- $idFazenda : mixed
- $idManut : mixed
- $idNegocio : mixed
- $idPastagem : mixed
- $idPerdaSobra : mixed
- $idPesagem : mixed
- $idProduto : mixed
- $idProdutoLoteCompra : mixed
- $idRastreabilidadeLote : mixed
- $idReceita : mixed
- $idTabela : mixed
- $idUsoPerdaSobra : mixed
- $idUsuario : mixed
- $parametroConversao : mixed
- $qtidade : mixed
- $qtidadeBruta : mixed
- $teorAvariados : mixed
- $teorEsverdeado : mixed
- $teorImpureza : mixed
- $teorUmidade : mixed
- $tipo : mixed
- $tipoProduto : mixed
- $tipoProduto2 : mixed
- $totalAnexo : mixed
- $valorColheita : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAnoAgricola() : mixed
- Get the value of AnoAgricola
- getAnoAgricolaSafra() : mixed
- Get the value of AnoAgricolaSafra
- getAuditlog() : mixed
- getCodigoRomaneio() : mixed
- Get the value of codigoRomaneio
- getConst() : mixed
- getConstObj() : mixed
- getCustoUnitarioProduto() : mixed
- Get the value of custoUnitarioProduto
- getCustoUnitUltimaCompra() : mixed
- Get the value of custoUnitUltimaCompra
- getData() : mixed
- Get the value of data
- getDatabase() : mixed
- getDataHora() : mixed
- Get the value of dataHora
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescontoAvariados() : mixed
- Get the value of descontoAvariados
- getDescontoEsverdeado() : mixed
- Get the value of descontoEsverdeado
- getDescontoImpureza() : mixed
- Get the value of descontoImpureza
- getDescontoUmidade() : mixed
- Get the value of descontoUmidade
- getDescricao() : mixed
- Get the value of descricao
- getIdAtivo() : mixed
- Get the value of idAtivo
- getIdContasPagar() : mixed
- Get the value of idContasPagar
- getIdDepartamento() : mixed
- Get the value of idDepartamento
- getIdDeposito() : mixed
- Get the value of idDeposito
- getIdEntidade() : mixed
- Get the value of idEntidade
- getIdEntidadeSolicitante() : mixed
- Get the value of idEntidadeSolicitante
- getIdEntradaEntrega() : mixed
- Get the value of idEntradaEntrega
- getIdExeServico() : mixed
- Get the value of idExeServico
- getIdFazenda() : mixed
- Get the value of idFazenda
- getIdManut() : mixed
- Get the value of idManut
- getIdNegocio() : mixed
- Get the value of idNegocio
- getIdPastagem() : mixed
- Get the value of idPastagem
- getIdPerdaSobra() : mixed
- Get the value of idPerdaSobra
- getIdPesagem() : mixed
- Get the value of idPesagem
- getIdProduto() : mixed
- Get the value of idProduto
- getIdProdutoLoteCompra() : mixed
- Get the value of idProdutoLote
- getIdRastreabilidadeLote() : mixed
- Get the value of idRastreabilidadeLote
- getIdReceita() : mixed
- Get the value of idReceita
- getIdTabela() : mixed
- Get the value of idTabela
- getIdUsoPerdaSobra() : mixed
- Get the value of idUsoPerdaSobra
- getIdUsuario() : mixed
- Get the value of idUsuario
- getParametroConversao() : mixed
- Get the value of parametroConversao
- getQtidade() : mixed
- Get the value of qtidade
- getQtidadeBruta() : mixed
- Get the value of qtidadeBruta
- getTable() : mixed
- getTeorAvariados() : mixed
- Get the value of teorAvariados
- getTeorEsverdeado() : mixed
- Get the value of teorEsverdeado
- getTeorImpureza() : mixed
- Get the value of teorImpureza
- getTeorUmidade() : mixed
- Get the value of teorUmidade
- getTipo() : mixed
- Get the value of tipo
- getTipoProduto() : mixed
- Get the value of tipoProduto
- getTipoProduto2() : mixed
- Get the value of tipoProduto2
- getTotalAnexo() : mixed
- Get the value of totalAnexo
- getValorColheita() : mixed
- Get the value of valorColheita
- 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
- setAnoAgricola() : self
- Set the value of AnoAgricola
- setAnoAgricolaSafra() : self
- Set the value of AnoAgricolaSafra
- setCodigoRomaneio() : self
- Set the value of codigoRomaneio
- setCustoUnitarioProduto() : self
- Set the value of custoUnitarioProduto
- setCustoUnitUltimaCompra() : self
- Set the value of custoUnitUltimaCompra
- setData() : self
- Set the value of data
- setDataHora() : self
- Set the value of dataHora
- setDescontoAvariados() : self
- Set the value of descontoAvariados
- setDescontoEsverdeado() : self
- Set the value of descontoEsverdeado
- setDescontoImpureza() : self
- Set the value of descontoImpureza
- setDescontoUmidade() : self
- Set the value of descontoUmidade
- setDescricao() : self
- Set the value of descricao
- setIdAtivo() : self
- Set the value of idAtivo
- setIdContasPagar() : self
- Set the value of idContasPagar
- setIdDepartamento() : self
- Set the value of idDepartamento
- setIdDeposito() : self
- Set the value of idDeposito
- setIdEntidade() : self
- Set the value of idEntidade
- setIdEntidadeSolicitante() : self
- Set the value of idEntidadeSolicitante
- setIdEntradaEntrega() : self
- Set the value of idEntradaEntrega
- setIdExeServico() : self
- Set the value of idExeServico
- setIdFazenda() : self
- Set the value of idFazenda
- setIdManut() : self
- Set the value of descontoAvariados
- setIdNegocio() : self
- Set the value of idNegocio
- setIdPastagem() : self
- Set the value of idPastagem
- setIdPerdaSobra() : self
- Set the value of idPerdaSobra
- setIdPesagem() : self
- Set the value of idPesagem
- setIdProduto() : self
- Set the value of idProduto
- setIdProdutoLoteCompra() : self
- Set the value of idProdutoLoteCompra
- setIdRastreabilidadeLote() : self
- Set the value of idRastreabilidadeLote
- setIdReceita() : self
- Set the value of idReceita
- setIdTabela() : self
- Set the value of idTabela
- setIdUsoPerdaSobra() : self
- Set the value of idUsoPerdaSobra
- setIdUsuario() : self
- Set the value of idUsuario
- setParametroConversao() : self
- Set the value of parametroConversao
- setQtidade() : self
- Set the value of qtidade
- setQtidadeBruta() : self
- Set the value of qtidadeBruta
- setTeorAvariados() : self
- Set the value of teorAvariados
- setTeorEsverdeado() : self
- Set the value of teorEsverdeado
- setTeorImpureza() : self
- Set the value of teorImpureza
- setTeorUmidade() : self
- Set the value of teorUmidade
- setTipo() : self
- Set the value of tipo
- setTipoProduto() : self
- Set the value of tipoProduto
- setTipoProduto2() : self
- Set the value of tipoProduto2
- setTotalAnexo() : self
- Set the value of totalAnexo
- setValorColheita() : self
- Set the value of valorColheita
- 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
= 'cad_produtos_perdas_sobras'
EMPRESTIMO
public
mixed
EMPRESTIMO
= "8"
pk_field
public
mixed
pk_field
= 'idPerdaSobra'
sanitize
Estrutura = ['key' => 'rule']
public
mixed
sanitize
= []
security
Allowed keys: 'select': <...> 'update': <...> 'delete': <...> 'insert': <...>
public
mixed
security
= ['delete' => 'src\models\ProcessoColheitaItemSecurity::securityDelete']
TIPO_COLHEITA
public
mixed
TIPO_COLHEITA
= "3"
TIPO_DEVOLUCAO
public
mixed
TIPO_DEVOLUCAO
= "4"
TIPO_DEVOLUCAO_CLIENTE
public
mixed
TIPO_DEVOLUCAO_CLIENTE
= "7"
TIPO_DEVOLUCAO_EMPRESTIMO
public
mixed
TIPO_DEVOLUCAO_EMPRESTIMO
= "9"
TIPO_INVENTARIO
public
mixed
TIPO_INVENTARIO
= "5"
TIPO_PERDAS_SAIDAS
public
mixed
TIPO_PERDAS_SAIDAS
= "0"
TIPO_REENTRADA
public
mixed
TIPO_REENTRADA
= "6"
TIPO_SOBRAS_ENTRADA
public
mixed
TIPO_SOBRAS_ENTRADA
= "1"
TIPO_USO
public
mixed
TIPO_USO
= "2"
tracking
public
mixed
tracking
= true
validations
Estrutura = ['key' => ['keyRule' => 'Rule message']]
public
mixed
validations
= ['data' => ['required' => 'O campo Data é requerido.'], 'AnoAgricolaSafra' => ['required' => 'O campo Ano Safra é requerido.'], 'tipo' => ['required' => 'O campo Tipo é requerido.']]
Properties
$AnoAgricola
private
mixed
$AnoAgricola
$AnoAgricolaSafra
private
mixed
$AnoAgricolaSafra
$codigoRomaneio
private
mixed
$codigoRomaneio
$custoUnitarioProduto
private
mixed
$custoUnitarioProduto
$custoUnitUltimaCompra
private
mixed
$custoUnitUltimaCompra
$data
private
mixed
$data
$dataHora
private
mixed
$dataHora
$descontoAvariados
private
mixed
$descontoAvariados
$descontoEsverdeado
private
mixed
$descontoEsverdeado
$descontoImpureza
private
mixed
$descontoImpureza
$descontoUmidade
private
mixed
$descontoUmidade
$descricao
private
mixed
$descricao
$idAtivo
private
mixed
$idAtivo
$idContasPagar
private
mixed
$idContasPagar
$idDepartamento
private
mixed
$idDepartamento
$idDeposito
private
mixed
$idDeposito
$idEntidade
private
mixed
$idEntidade
$idEntidadeSolicitante
private
mixed
$idEntidadeSolicitante
$idEntradaEntrega
private
mixed
$idEntradaEntrega
$idExeServico
private
mixed
$idExeServico
$idFazenda
private
mixed
$idFazenda
$idManut
private
mixed
$idManut
$idNegocio
private
mixed
$idNegocio
$idPastagem
private
mixed
$idPastagem
$idPerdaSobra
private
mixed
$idPerdaSobra
$idPesagem
private
mixed
$idPesagem
$idProduto
private
mixed
$idProduto
$idProdutoLoteCompra
private
mixed
$idProdutoLoteCompra
$idRastreabilidadeLote
private
mixed
$idRastreabilidadeLote
$idReceita
private
mixed
$idReceita
$idTabela
private
mixed
$idTabela
$idUsoPerdaSobra
private
mixed
$idUsoPerdaSobra
$idUsuario
private
mixed
$idUsuario
$parametroConversao
private
mixed
$parametroConversao
$qtidade
private
mixed
$qtidade
$qtidadeBruta
private
mixed
$qtidadeBruta
$teorAvariados
private
mixed
$teorAvariados
$teorEsverdeado
private
mixed
$teorEsverdeado
$teorImpureza
private
mixed
$teorImpureza
$teorUmidade
private
mixed
$teorUmidade
$tipo
private
mixed
$tipo
$tipoProduto
private
mixed
$tipoProduto
$tipoProduto2
private
mixed
$tipoProduto2
$totalAnexo
private
mixed
$totalAnexo
$valorColheita
private
mixed
$valorColheita
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 = []
getAnoAgricola()
Get the value of AnoAgricola
public
getAnoAgricola() : mixed
getAnoAgricolaSafra()
Get the value of AnoAgricolaSafra
public
getAnoAgricolaSafra() : mixed
getAuditlog()
public
getAuditlog([string|null $key = null ]) : mixed
Parameters
- $key : string|null = null
getCodigoRomaneio()
Get the value of codigoRomaneio
public
getCodigoRomaneio() : 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
getCustoUnitarioProduto()
Get the value of custoUnitarioProduto
public
getCustoUnitarioProduto() : mixed
getCustoUnitUltimaCompra()
Get the value of custoUnitUltimaCompra
public
getCustoUnitUltimaCompra() : mixed
getData()
Get the value of data
public
getData() : mixed
getDatabase()
public
getDatabase() : mixed
getDataHora()
Get the value of dataHora
public
getDataHora() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescontoAvariados()
Get the value of descontoAvariados
public
getDescontoAvariados() : mixed
getDescontoEsverdeado()
Get the value of descontoEsverdeado
public
getDescontoEsverdeado() : mixed
getDescontoImpureza()
Get the value of descontoImpureza
public
getDescontoImpureza() : mixed
getDescontoUmidade()
Get the value of descontoUmidade
public
getDescontoUmidade() : mixed
getDescricao()
Get the value of descricao
public
getDescricao() : mixed
getIdAtivo()
Get the value of idAtivo
public
getIdAtivo() : mixed
getIdContasPagar()
Get the value of idContasPagar
public
getIdContasPagar() : mixed
getIdDepartamento()
Get the value of idDepartamento
public
getIdDepartamento() : mixed
getIdDeposito()
Get the value of idDeposito
public
getIdDeposito() : mixed
getIdEntidade()
Get the value of idEntidade
public
getIdEntidade() : mixed
getIdEntidadeSolicitante()
Get the value of idEntidadeSolicitante
public
getIdEntidadeSolicitante() : mixed
getIdEntradaEntrega()
Get the value of idEntradaEntrega
public
getIdEntradaEntrega() : mixed
getIdExeServico()
Get the value of idExeServico
public
getIdExeServico() : mixed
getIdFazenda()
Get the value of idFazenda
public
getIdFazenda() : mixed
getIdManut()
Get the value of idManut
public
getIdManut() : mixed
getIdNegocio()
Get the value of idNegocio
public
getIdNegocio() : mixed
getIdPastagem()
Get the value of idPastagem
public
getIdPastagem() : mixed
getIdPerdaSobra()
Get the value of idPerdaSobra
public
getIdPerdaSobra() : mixed
getIdPesagem()
Get the value of idPesagem
public
getIdPesagem() : mixed
getIdProduto()
Get the value of idProduto
public
getIdProduto() : mixed
getIdProdutoLoteCompra()
Get the value of idProdutoLote
public
getIdProdutoLoteCompra() : mixed
getIdRastreabilidadeLote()
Get the value of idRastreabilidadeLote
public
getIdRastreabilidadeLote() : mixed
getIdReceita()
Get the value of idReceita
public
getIdReceita() : mixed
getIdTabela()
Get the value of idTabela
public
getIdTabela() : mixed
getIdUsoPerdaSobra()
Get the value of idUsoPerdaSobra
public
getIdUsoPerdaSobra() : mixed
getIdUsuario()
Get the value of idUsuario
public
getIdUsuario() : mixed
getParametroConversao()
Get the value of parametroConversao
public
getParametroConversao() : mixed
getQtidade()
Get the value of qtidade
public
getQtidade() : mixed
getQtidadeBruta()
Get the value of qtidadeBruta
public
getQtidadeBruta() : mixed
getTable()
public
getTable() : mixed
getTeorAvariados()
Get the value of teorAvariados
public
getTeorAvariados() : mixed
getTeorEsverdeado()
Get the value of teorEsverdeado
public
getTeorEsverdeado() : mixed
getTeorImpureza()
Get the value of teorImpureza
public
getTeorImpureza() : mixed
getTeorUmidade()
Get the value of teorUmidade
public
getTeorUmidade() : mixed
getTipo()
Get the value of tipo
public
getTipo() : mixed
getTipoProduto()
Get the value of tipoProduto
public
getTipoProduto() : mixed
getTipoProduto2()
Get the value of tipoProduto2
public
getTipoProduto2() : mixed
getTotalAnexo()
Get the value of totalAnexo
public
getTotalAnexo() : mixed
getValorColheita()
Get the value of valorColheita
public
getValorColheita() : 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
setAnoAgricola()
Set the value of AnoAgricola
public
setAnoAgricola(mixed $AnoAgricola) : self
Parameters
- $AnoAgricola : mixed
Return values
selfsetAnoAgricolaSafra()
Set the value of AnoAgricolaSafra
public
setAnoAgricolaSafra(mixed $AnoAgricolaSafra) : self
Parameters
- $AnoAgricolaSafra : mixed
Return values
selfsetCodigoRomaneio()
Set the value of codigoRomaneio
public
setCodigoRomaneio(mixed $codigoRomaneio) : self
Parameters
- $codigoRomaneio : mixed
Return values
selfsetCustoUnitarioProduto()
Set the value of custoUnitarioProduto
public
setCustoUnitarioProduto(mixed $custoUnitarioProduto) : self
Parameters
- $custoUnitarioProduto : mixed
Return values
selfsetCustoUnitUltimaCompra()
Set the value of custoUnitUltimaCompra
public
setCustoUnitUltimaCompra(mixed $custoUnitUltimaCompra) : self
Parameters
- $custoUnitUltimaCompra : mixed
Return values
selfsetData()
Set the value of data
public
setData(mixed $data) : self
Parameters
- $data : mixed
Return values
selfsetDataHora()
Set the value of dataHora
public
setDataHora(mixed $dataHora) : self
Parameters
- $dataHora : mixed
Return values
selfsetDescontoAvariados()
Set the value of descontoAvariados
public
setDescontoAvariados(mixed $descontoAvariados) : self
Parameters
- $descontoAvariados : mixed
Return values
selfsetDescontoEsverdeado()
Set the value of descontoEsverdeado
public
setDescontoEsverdeado(mixed $descontoEsverdeado) : self
Parameters
- $descontoEsverdeado : mixed
Return values
selfsetDescontoImpureza()
Set the value of descontoImpureza
public
setDescontoImpureza(mixed $descontoImpureza) : self
Parameters
- $descontoImpureza : mixed
Return values
selfsetDescontoUmidade()
Set the value of descontoUmidade
public
setDescontoUmidade(mixed $descontoUmidade) : self
Parameters
- $descontoUmidade : mixed
Return values
selfsetDescricao()
Set the value of descricao
public
setDescricao(mixed $descricao) : self
Parameters
- $descricao : mixed
Return values
selfsetIdAtivo()
Set the value of idAtivo
public
setIdAtivo(mixed $idAtivo) : self
Parameters
- $idAtivo : mixed
Return values
selfsetIdContasPagar()
Set the value of idContasPagar
public
setIdContasPagar(mixed $idContasPagar) : self
Parameters
- $idContasPagar : mixed
Return values
selfsetIdDepartamento()
Set the value of idDepartamento
public
setIdDepartamento(mixed $idDepartamento) : self
Parameters
- $idDepartamento : mixed
Return values
selfsetIdDeposito()
Set the value of idDeposito
public
setIdDeposito(mixed $idDeposito) : self
Parameters
- $idDeposito : mixed
Return values
selfsetIdEntidade()
Set the value of idEntidade
public
setIdEntidade(mixed $idEntidade) : self
Parameters
- $idEntidade : mixed
Return values
selfsetIdEntidadeSolicitante()
Set the value of idEntidadeSolicitante
public
setIdEntidadeSolicitante(mixed $idEntidadeSolicitante) : self
Parameters
- $idEntidadeSolicitante : mixed
Return values
selfsetIdEntradaEntrega()
Set the value of idEntradaEntrega
public
setIdEntradaEntrega(mixed $idEntradaEntrega) : self
Parameters
- $idEntradaEntrega : mixed
Return values
selfsetIdExeServico()
Set the value of idExeServico
public
setIdExeServico(mixed $idExeServico) : self
Parameters
- $idExeServico : mixed
Return values
selfsetIdFazenda()
Set the value of idFazenda
public
setIdFazenda(mixed $idFazenda) : self
Parameters
- $idFazenda : mixed
Return values
selfsetIdManut()
Set the value of descontoAvariados
public
setIdManut(mixed $idManut) : self
Parameters
- $idManut : mixed
Return values
selfsetIdNegocio()
Set the value of idNegocio
public
setIdNegocio(mixed $idNegocio) : self
Parameters
- $idNegocio : mixed
Return values
selfsetIdPastagem()
Set the value of idPastagem
public
setIdPastagem(mixed $idPastagem) : self
Parameters
- $idPastagem : mixed
Return values
selfsetIdPerdaSobra()
Set the value of idPerdaSobra
public
setIdPerdaSobra(mixed $idPerdaSobra) : self
Parameters
- $idPerdaSobra : mixed
Return values
selfsetIdPesagem()
Set the value of idPesagem
public
setIdPesagem(mixed $idPesagem) : self
Parameters
- $idPesagem : mixed
Return values
selfsetIdProduto()
Set the value of idProduto
public
setIdProduto(mixed $idProduto) : self
Parameters
- $idProduto : mixed
Return values
selfsetIdProdutoLoteCompra()
Set the value of idProdutoLoteCompra
public
setIdProdutoLoteCompra(mixed $idProdutoLoteCompra) : self
Parameters
- $idProdutoLoteCompra : mixed
Return values
selfsetIdRastreabilidadeLote()
Set the value of idRastreabilidadeLote
public
setIdRastreabilidadeLote(mixed $idRastreabilidadeLote) : self
Parameters
- $idRastreabilidadeLote : mixed
Return values
selfsetIdReceita()
Set the value of idReceita
public
setIdReceita(mixed $idReceita) : self
Parameters
- $idReceita : mixed
Return values
selfsetIdTabela()
Set the value of idTabela
public
setIdTabela(mixed $idTabela) : self
Parameters
- $idTabela : mixed
Return values
selfsetIdUsoPerdaSobra()
Set the value of idUsoPerdaSobra
public
setIdUsoPerdaSobra(mixed $idUsoPerdaSobra) : self
Parameters
- $idUsoPerdaSobra : mixed
Return values
selfsetIdUsuario()
Set the value of idUsuario
public
setIdUsuario(mixed $idUsuario) : self
Parameters
- $idUsuario : mixed
Return values
selfsetParametroConversao()
Set the value of parametroConversao
public
setParametroConversao(mixed $parametroConversao) : self
Parameters
- $parametroConversao : mixed
Return values
selfsetQtidade()
Set the value of qtidade
public
setQtidade(mixed $qtidade) : self
Parameters
- $qtidade : mixed
Return values
selfsetQtidadeBruta()
Set the value of qtidadeBruta
public
setQtidadeBruta(mixed $qtidadeBruta) : self
Parameters
- $qtidadeBruta : mixed
Return values
selfsetTeorAvariados()
Set the value of teorAvariados
public
setTeorAvariados(mixed $teorAvariados) : self
Parameters
- $teorAvariados : mixed
Return values
selfsetTeorEsverdeado()
Set the value of teorEsverdeado
public
setTeorEsverdeado(mixed $teorEsverdeado) : self
Parameters
- $teorEsverdeado : mixed
Return values
selfsetTeorImpureza()
Set the value of teorImpureza
public
setTeorImpureza(mixed $teorImpureza) : self
Parameters
- $teorImpureza : mixed
Return values
selfsetTeorUmidade()
Set the value of teorUmidade
public
setTeorUmidade(mixed $teorUmidade) : self
Parameters
- $teorUmidade : mixed
Return values
selfsetTipo()
Set the value of tipo
public
setTipo(mixed $tipo) : self
Parameters
- $tipo : mixed
Return values
selfsetTipoProduto()
Set the value of tipoProduto
public
setTipoProduto(mixed $tipoProduto) : self
Parameters
- $tipoProduto : mixed
Return values
selfsetTipoProduto2()
Set the value of tipoProduto2
public
setTipoProduto2(mixed $tipoProduto2) : self
Parameters
- $tipoProduto2 : mixed
Return values
selfsetTotalAnexo()
Set the value of totalAnexo
public
setTotalAnexo(mixed $totalAnexo) : self
Parameters
- $totalAnexo : mixed
Return values
selfsetValorColheita()
Set the value of valorColheita
public
setValorColheita(mixed $valorColheita) : self
Parameters
- $valorColheita : 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 = '*'