SysnfeProdutoEntity
extends Entity
in package
Table of Contents
Constants
- auditlog = ['exclude_fields' => ['*']]
- Allowed keys: 'exclude_fields': <...> 'object_rel': <...>
- const_values = []
- database = \config\Config::DB_NFE
- db_table = 'produto'
- pk_field = 'cProd'
- sanitize = []
- 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 = []
Properties
- $cBenef : mixed
- $cEan : mixed
- $cEnq : mixed
- $CEST : mixed
- $CFOP : mixed
- $clEnq : mixed
- $CNPJProd : mixed
- $cProd : mixed
- $cProdANP : mixed
- $cProdForn : mixed
- $cSelo : mixed
- $CST : mixed
- $CSTCOFINS : mixed
- $CSTIPI : mixed
- $CSTPIS : mixed
- $descANP : mixed
- $infAdProd : mixed
- $modBC : mixed
- $modBCST : mixed
- $motDesICMS : mixed
- $NCM : mixed
- $orig : mixed
- $pBCOP : mixed
- $pCOFINS : mixed
- $pCOFINSST : mixed
- $pCredSN : mixed
- $pDif : mixed
- $pICMS : mixed
- $pICMSST : mixed
- $pIPI : mixed
- $pMVAST : mixed
- $pPIS : mixed
- $pPISST : mixed
- $pRedBC : mixed
- $pRedBCST : mixed
- $qBCProdCOFINS : mixed
- $qBCProdCOFINSST : mixed
- $qBCProdPIS : mixed
- $qBCProdPISST : mixed
- $qSelo : mixed
- $qUnidIPI : mixed
- $uCom : mixed
- $UFCons : mixed
- $uTrib : mixed
- $vAliqProdCOFINS : mixed
- $vAliqProdCOFINSST : mixed
- $vAliqProdPIS : mixed
- $vAliqProdPISST : mixed
- $vBC : mixed
- $vBCCOFINS : mixed
- $vBCCOFINSST : mixed
- $vBCIPI : mixed
- $vBCPIS : mixed
- $vBCPISST : mixed
- $vBCST1 : mixed
- $vCOFINS : mixed
- $vCOFINSST : mixed
- $vCredICMSSN : mixed
- $vDesc : mixed
- $vICMS : mixed
- $vICMSDeson : mixed
- $vICMSDif : mixed
- $vICMSOp : mixed
- $vICMSST : mixed
- $vIPI : mixed
- $vPIS : mixed
- $vProd : mixed
- $vTrib : mixed
- $vUnidIPI : mixed
- $xProd : mixed
Methods
- __construct() : mixed
- delete() : mixed
- delete_where() : mixed
- getAuditlog() : mixed
- getCBenef() : mixed
- Get the value of cBenef
- getCEan() : mixed
- Get the value of cEan
- getCEnq() : mixed
- Get the value of cEnq
- getCEST() : mixed
- Get the value of CEST
- getCFOP() : mixed
- Get the value of CFOP
- getClEnq() : mixed
- Get the value of clEnq
- getCNPJProd() : mixed
- Get the value of CNPJProd
- getConst() : mixed
- getConstObj() : mixed
- getCProd() : mixed
- Get the value of cProd
- getCProdANP() : mixed
- Get the value of cProdANP
- getCProdForn() : mixed
- Get the value of cProdForn
- getCSelo() : mixed
- Get the value of cSelo
- getCST() : mixed
- Get the value of CST
- getCSTCOFINS() : mixed
- Get the value of CSTCOFINS
- getCSTIPI() : mixed
- Get the value of CSTIPI
- getCSTPIS() : mixed
- Get the value of CSTPIS
- getDatabase() : mixed
- getDBDriver() : mixed
- getDBTable() : mixed
- getDescANP() : mixed
- Get the value of descANP
- getInfAdProd() : mixed
- Get the value of infAdProd
- getModBC() : mixed
- Get the value of modBC
- getModBCST() : mixed
- Get the value of modBCST
- getMotDesICMS() : mixed
- Get the value of motDesICMS
- getNCM() : mixed
- Get the value of NCM
- getOrig() : mixed
- Get the value of orig
- getPBCOP() : mixed
- Get the value of pBCOP
- getPCOFINS() : mixed
- Get the value of pCOFINS
- getPCOFINSST() : mixed
- Get the value of pCOFINSST
- getPCredSN() : mixed
- Get the value of pCredSN
- getPDif() : mixed
- Get the value of pDif
- getPICMS() : mixed
- Get the value of pICMS
- getPICMSST() : mixed
- Get the value of pICMSST
- getPIPI() : mixed
- Get the value of pIPI
- getPMVAST() : mixed
- Get the value of pMVAST
- getPPIS() : mixed
- Get the value of pPIS
- getPPISST() : mixed
- Get the value of pPISST
- getPRedBC() : mixed
- Get the value of pRedBC
- getPRedBCST() : mixed
- Get the value of pRedBCST
- getQBCProdCOFINS() : mixed
- Get the value of qBCProdCOFINS
- getQBCProdCOFINSST() : mixed
- Get the value of qBCProdCOFINSST
- getQBCProdPIS() : mixed
- Get the value of qBCProdPIS
- getQBCProdPISST() : mixed
- Get the value of qBCProdPISST
- getQSelo() : mixed
- Get the value of qSelo
- getQUnidIPI() : mixed
- Get the value of qUnidIPI
- getTable() : mixed
- getUCom() : mixed
- Get the value of uCom
- getUFCons() : mixed
- Get the value of UFCons
- getUTrib() : mixed
- Get the value of uTrib
- getVAliqProdCOFINS() : mixed
- Get the value of vAliqProdCOFINS
- getVAliqProdCOFINSST() : mixed
- Get the value of vAliqProdCOFINSST
- getVAliqProdPIS() : mixed
- Get the value of vAliqProdPIS
- getVAliqProdPISST() : mixed
- Get the value of vAliqProdPISST
- getVBC() : mixed
- Get the value of vBC
- getVBCCOFINS() : mixed
- Get the value of vBCCOFINS
- getVBCCOFINSST() : mixed
- Get the value of vBCCOFINSST
- getVBCIPI() : mixed
- Get the value of vBCIPI
- getVBCPIS() : mixed
- Get the value of vBCPIS
- getVBCPISST() : mixed
- Get the value of vBCPISST
- getVBCST1() : mixed
- Get the value of vBCST1
- getVCOFINS() : mixed
- Get the value of vCOFINS
- getVCOFINSST() : mixed
- Get the value of vCOFINSST
- getVCredICMSSN() : mixed
- Get the value of vCredICMSSN
- getVDesc() : mixed
- Get the value of vDesc
- getVICMS() : mixed
- Get the value of vICMS
- getVICMSDeson() : mixed
- Get the value of vICMSDeson
- getVICMSDif() : mixed
- Get the value of vICMSDif
- getVICMSOp() : mixed
- Get the value of vICMSOp
- getVICMSST() : mixed
- Get the value of vICMSST
- getVIPI() : mixed
- Get the value of vIPI
- getVPIS() : mixed
- Get the value of vPIS
- getVProd() : mixed
- Get the value of vProd
- getVTrib() : mixed
- Get the value of vTrib
- getVUnidIPI() : mixed
- Get the value of vUnidIPI
- getXProd() : mixed
- Get the value of xProd
- 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
- setCBenef() : self
- Set the value of cBenef
- setCEan() : self
- Set the value of cEan
- setCEnq() : self
- Set the value of cEnq
- setCEST() : self
- Set the value of CEST
- setCFOP() : self
- Set the value of CFOP
- setClEnq() : self
- Set the value of clEnq
- setCNPJProd() : self
- Set the value of CNPJProd
- setCProd() : self
- Set the value of cProd
- setCProdANP() : self
- Set the value of cProdANP
- setCProdForn() : self
- Set the value of cProdForn
- setCSelo() : self
- Set the value of cSelo
- setCST() : self
- Set the value of CST
- setCSTCOFINS() : self
- Set the value of CSTCOFINS
- setCSTIPI() : self
- Set the value of CSTIPI
- setCSTPIS() : self
- Set the value of CSTPIS
- setDescANP() : self
- Set the value of descANP
- setInfAdProd() : self
- Set the value of infAdProd
- setModBC() : self
- Set the value of modBC
- setModBCST() : self
- Set the value of modBCST
- setMotDesICMS() : self
- Set the value of motDesICMS
- setNCM() : self
- Set the value of NCM
- setOrig() : self
- Set the value of orig
- setPBCOP() : self
- Set the value of pBCOP
- setPCOFINS() : self
- Set the value of pCOFINS
- setPCOFINSST() : self
- Set the value of pCOFINSST
- setPCredSN() : self
- Set the value of pCredSN
- setPDif() : self
- Set the value of pDif
- setPICMS() : self
- Set the value of pICMS
- setPICMSST() : self
- Set the value of pICMSST
- setPIPI() : self
- Set the value of pIPI
- setPMVAST() : self
- Set the value of pMVAST
- setPPIS() : self
- Set the value of pPIS
- setPPISST() : self
- Set the value of pPISST
- setPRedBC() : self
- Set the value of pRedBC
- setPRedBCST() : self
- Set the value of pRedBCST
- setQBCProdCOFINS() : self
- Set the value of qBCProdCOFINS
- setQBCProdCOFINSST() : self
- Set the value of qBCProdCOFINSST
- setQBCProdPIS() : self
- Set the value of qBCProdPIS
- setQBCProdPISST() : self
- Set the value of qBCProdPISST
- setQSelo() : self
- Set the value of qSelo
- setQUnidIPI() : self
- Set the value of qUnidIPI
- setUCom() : self
- Set the value of uCom
- setUFCons() : self
- Set the value of UFCons
- setUTrib() : self
- Set the value of uTrib
- setVAliqProdCOFINS() : self
- Set the value of vAliqProdCOFINS
- setVAliqProdCOFINSST() : self
- Set the value of vAliqProdCOFINSST
- setVAliqProdPIS() : self
- Set the value of vAliqProdPIS
- setVAliqProdPISST() : self
- Set the value of vAliqProdPISST
- setVBC() : self
- Set the value of vBC
- setVBCCOFINS() : self
- Set the value of vBCCOFINS
- setVBCCOFINSST() : self
- Set the value of vBCCOFINSST
- setVBCIPI() : self
- Set the value of vBCIPI
- setVBCPIS() : self
- Set the value of vBCPIS
- setVBCPISST() : self
- Set the value of vBCPISST
- setVBCST1() : self
- Set the value of vBCST1
- setVCOFINS() : self
- Set the value of vCOFINS
- setVCOFINSST() : self
- Set the value of vCOFINSST
- setVCredICMSSN() : self
- Set the value of vCredICMSSN
- setVDesc() : self
- Set the value of vDesc
- setVICMS() : self
- Set the value of vICMS
- setVICMSDeson() : self
- Set the value of vICMSDeson
- setVICMSDif() : self
- Set the value of vICMSDif
- setVICMSOp() : self
- Set the value of vICMSOp
- setVICMSST() : self
- Set the value of vICMSST
- setVIPI() : self
- Set the value of vIPI
- setVPIS() : self
- Set the value of vPIS
- setVProd() : self
- Set the value of vProd
- setVTrib() : self
- Set the value of vTrib
- setVUnidIPI() : self
- Set the value of vUnidIPI
- setXProd() : self
- Set the value of xProd
- 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_NFE
db_table
public
mixed
db_table
= 'produto'
pk_field
public
mixed
pk_field
= 'cProd'
sanitize
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
public
mixed
validations
= []
Properties
$cBenef
private
mixed
$cBenef
$cEan
private
mixed
$cEan
$cEnq
private
mixed
$cEnq
$CEST
private
mixed
$CEST
$CFOP
private
mixed
$CFOP
$clEnq
private
mixed
$clEnq
$CNPJProd
private
mixed
$CNPJProd
$cProd
private
mixed
$cProd
$cProdANP
private
mixed
$cProdANP
$cProdForn
private
mixed
$cProdForn
$cSelo
private
mixed
$cSelo
$CST
private
mixed
$CST
$CSTCOFINS
private
mixed
$CSTCOFINS
$CSTIPI
private
mixed
$CSTIPI
$CSTPIS
private
mixed
$CSTPIS
$descANP
private
mixed
$descANP
$infAdProd
private
mixed
$infAdProd
$modBC
private
mixed
$modBC
$modBCST
private
mixed
$modBCST
$motDesICMS
private
mixed
$motDesICMS
$NCM
private
mixed
$NCM
$orig
private
mixed
$orig
$pBCOP
private
mixed
$pBCOP
$pCOFINS
private
mixed
$pCOFINS
$pCOFINSST
private
mixed
$pCOFINSST
$pCredSN
private
mixed
$pCredSN
$pDif
private
mixed
$pDif
$pICMS
private
mixed
$pICMS
$pICMSST
private
mixed
$pICMSST
$pIPI
private
mixed
$pIPI
$pMVAST
private
mixed
$pMVAST
$pPIS
private
mixed
$pPIS
$pPISST
private
mixed
$pPISST
$pRedBC
private
mixed
$pRedBC
$pRedBCST
private
mixed
$pRedBCST
$qBCProdCOFINS
private
mixed
$qBCProdCOFINS
$qBCProdCOFINSST
private
mixed
$qBCProdCOFINSST
$qBCProdPIS
private
mixed
$qBCProdPIS
$qBCProdPISST
private
mixed
$qBCProdPISST
$qSelo
private
mixed
$qSelo
$qUnidIPI
private
mixed
$qUnidIPI
$uCom
private
mixed
$uCom
$UFCons
private
mixed
$UFCons
$uTrib
private
mixed
$uTrib
$vAliqProdCOFINS
private
mixed
$vAliqProdCOFINS
$vAliqProdCOFINSST
private
mixed
$vAliqProdCOFINSST
$vAliqProdPIS
private
mixed
$vAliqProdPIS
$vAliqProdPISST
private
mixed
$vAliqProdPISST
$vBC
private
mixed
$vBC
$vBCCOFINS
private
mixed
$vBCCOFINS
$vBCCOFINSST
private
mixed
$vBCCOFINSST
$vBCIPI
private
mixed
$vBCIPI
$vBCPIS
private
mixed
$vBCPIS
$vBCPISST
private
mixed
$vBCPISST
$vBCST1
private
mixed
$vBCST1
$vCOFINS
private
mixed
$vCOFINS
$vCOFINSST
private
mixed
$vCOFINSST
$vCredICMSSN
private
mixed
$vCredICMSSN
$vDesc
private
mixed
$vDesc
$vICMS
private
mixed
$vICMS
$vICMSDeson
private
mixed
$vICMSDeson
$vICMSDif
private
mixed
$vICMSDif
$vICMSOp
private
mixed
$vICMSOp
$vICMSST
private
mixed
$vICMSST
$vIPI
private
mixed
$vIPI
$vPIS
private
mixed
$vPIS
$vProd
private
mixed
$vProd
$vTrib
private
mixed
$vTrib
$vUnidIPI
private
mixed
$vUnidIPI
$xProd
private
mixed
$xProd
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
getCBenef()
Get the value of cBenef
public
getCBenef() : mixed
getCEan()
Get the value of cEan
public
getCEan() : mixed
getCEnq()
Get the value of cEnq
public
getCEnq() : mixed
getCEST()
Get the value of CEST
public
getCEST() : mixed
getCFOP()
Get the value of CFOP
public
getCFOP() : mixed
getClEnq()
Get the value of clEnq
public
getClEnq() : mixed
getCNPJProd()
Get the value of CNPJProd
public
getCNPJProd() : 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
getCProd()
Get the value of cProd
public
getCProd() : mixed
getCProdANP()
Get the value of cProdANP
public
getCProdANP() : mixed
getCProdForn()
Get the value of cProdForn
public
getCProdForn() : mixed
getCSelo()
Get the value of cSelo
public
getCSelo() : mixed
getCST()
Get the value of CST
public
getCST() : mixed
getCSTCOFINS()
Get the value of CSTCOFINS
public
getCSTCOFINS() : mixed
getCSTIPI()
Get the value of CSTIPI
public
getCSTIPI() : mixed
getCSTPIS()
Get the value of CSTPIS
public
getCSTPIS() : mixed
getDatabase()
public
getDatabase() : mixed
getDBDriver()
public
static getDBDriver() : mixed
getDBTable()
public
static getDBTable() : mixed
getDescANP()
Get the value of descANP
public
getDescANP() : mixed
getInfAdProd()
Get the value of infAdProd
public
getInfAdProd() : mixed
getModBC()
Get the value of modBC
public
getModBC() : mixed
getModBCST()
Get the value of modBCST
public
getModBCST() : mixed
getMotDesICMS()
Get the value of motDesICMS
public
getMotDesICMS() : mixed
getNCM()
Get the value of NCM
public
getNCM() : mixed
getOrig()
Get the value of orig
public
getOrig() : mixed
getPBCOP()
Get the value of pBCOP
public
getPBCOP() : mixed
getPCOFINS()
Get the value of pCOFINS
public
getPCOFINS() : mixed
getPCOFINSST()
Get the value of pCOFINSST
public
getPCOFINSST() : mixed
getPCredSN()
Get the value of pCredSN
public
getPCredSN() : mixed
getPDif()
Get the value of pDif
public
getPDif() : mixed
getPICMS()
Get the value of pICMS
public
getPICMS() : mixed
getPICMSST()
Get the value of pICMSST
public
getPICMSST() : mixed
getPIPI()
Get the value of pIPI
public
getPIPI() : mixed
getPMVAST()
Get the value of pMVAST
public
getPMVAST() : mixed
getPPIS()
Get the value of pPIS
public
getPPIS() : mixed
getPPISST()
Get the value of pPISST
public
getPPISST() : mixed
getPRedBC()
Get the value of pRedBC
public
getPRedBC() : mixed
getPRedBCST()
Get the value of pRedBCST
public
getPRedBCST() : mixed
getQBCProdCOFINS()
Get the value of qBCProdCOFINS
public
getQBCProdCOFINS() : mixed
getQBCProdCOFINSST()
Get the value of qBCProdCOFINSST
public
getQBCProdCOFINSST() : mixed
getQBCProdPIS()
Get the value of qBCProdPIS
public
getQBCProdPIS() : mixed
getQBCProdPISST()
Get the value of qBCProdPISST
public
getQBCProdPISST() : mixed
getQSelo()
Get the value of qSelo
public
getQSelo() : mixed
getQUnidIPI()
Get the value of qUnidIPI
public
getQUnidIPI() : mixed
getTable()
public
getTable() : mixed
getUCom()
Get the value of uCom
public
getUCom() : mixed
getUFCons()
Get the value of UFCons
public
getUFCons() : mixed
getUTrib()
Get the value of uTrib
public
getUTrib() : mixed
getVAliqProdCOFINS()
Get the value of vAliqProdCOFINS
public
getVAliqProdCOFINS() : mixed
getVAliqProdCOFINSST()
Get the value of vAliqProdCOFINSST
public
getVAliqProdCOFINSST() : mixed
getVAliqProdPIS()
Get the value of vAliqProdPIS
public
getVAliqProdPIS() : mixed
getVAliqProdPISST()
Get the value of vAliqProdPISST
public
getVAliqProdPISST() : mixed
getVBC()
Get the value of vBC
public
getVBC() : mixed
getVBCCOFINS()
Get the value of vBCCOFINS
public
getVBCCOFINS() : mixed
getVBCCOFINSST()
Get the value of vBCCOFINSST
public
getVBCCOFINSST() : mixed
getVBCIPI()
Get the value of vBCIPI
public
getVBCIPI() : mixed
getVBCPIS()
Get the value of vBCPIS
public
getVBCPIS() : mixed
getVBCPISST()
Get the value of vBCPISST
public
getVBCPISST() : mixed
getVBCST1()
Get the value of vBCST1
public
getVBCST1() : mixed
getVCOFINS()
Get the value of vCOFINS
public
getVCOFINS() : mixed
getVCOFINSST()
Get the value of vCOFINSST
public
getVCOFINSST() : mixed
getVCredICMSSN()
Get the value of vCredICMSSN
public
getVCredICMSSN() : mixed
getVDesc()
Get the value of vDesc
public
getVDesc() : mixed
getVICMS()
Get the value of vICMS
public
getVICMS() : mixed
getVICMSDeson()
Get the value of vICMSDeson
public
getVICMSDeson() : mixed
getVICMSDif()
Get the value of vICMSDif
public
getVICMSDif() : mixed
getVICMSOp()
Get the value of vICMSOp
public
getVICMSOp() : mixed
getVICMSST()
Get the value of vICMSST
public
getVICMSST() : mixed
getVIPI()
Get the value of vIPI
public
getVIPI() : mixed
getVPIS()
Get the value of vPIS
public
getVPIS() : mixed
getVProd()
Get the value of vProd
public
getVProd() : mixed
getVTrib()
Get the value of vTrib
public
getVTrib() : mixed
getVUnidIPI()
Get the value of vUnidIPI
public
getVUnidIPI() : mixed
getXProd()
Get the value of xProd
public
getXProd() : 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
setCBenef()
Set the value of cBenef
public
setCBenef(mixed $cBenef) : self
Parameters
- $cBenef : mixed
Return values
selfsetCEan()
Set the value of cEan
public
setCEan(mixed $cEan) : self
Parameters
- $cEan : mixed
Return values
selfsetCEnq()
Set the value of cEnq
public
setCEnq(mixed $cEnq) : self
Parameters
- $cEnq : mixed
Return values
selfsetCEST()
Set the value of CEST
public
setCEST(mixed $CEST) : self
Parameters
- $CEST : mixed
Return values
selfsetCFOP()
Set the value of CFOP
public
setCFOP(mixed $CFOP) : self
Parameters
- $CFOP : mixed
Return values
selfsetClEnq()
Set the value of clEnq
public
setClEnq(mixed $clEnq) : self
Parameters
- $clEnq : mixed
Return values
selfsetCNPJProd()
Set the value of CNPJProd
public
setCNPJProd(mixed $CNPJProd) : self
Parameters
- $CNPJProd : mixed
Return values
selfsetCProd()
Set the value of cProd
public
setCProd(mixed $cProd) : self
Parameters
- $cProd : mixed
Return values
selfsetCProdANP()
Set the value of cProdANP
public
setCProdANP(mixed $cProdANP) : self
Parameters
- $cProdANP : mixed
Return values
selfsetCProdForn()
Set the value of cProdForn
public
setCProdForn(mixed $cProdForn) : self
Parameters
- $cProdForn : mixed
Return values
selfsetCSelo()
Set the value of cSelo
public
setCSelo(mixed $cSelo) : self
Parameters
- $cSelo : mixed
Return values
selfsetCST()
Set the value of CST
public
setCST(mixed $CST) : self
Parameters
- $CST : mixed
Return values
selfsetCSTCOFINS()
Set the value of CSTCOFINS
public
setCSTCOFINS(mixed $CSTCOFINS) : self
Parameters
- $CSTCOFINS : mixed
Return values
selfsetCSTIPI()
Set the value of CSTIPI
public
setCSTIPI(mixed $CSTIPI) : self
Parameters
- $CSTIPI : mixed
Return values
selfsetCSTPIS()
Set the value of CSTPIS
public
setCSTPIS(mixed $CSTPIS) : self
Parameters
- $CSTPIS : mixed
Return values
selfsetDescANP()
Set the value of descANP
public
setDescANP(mixed $descANP) : self
Parameters
- $descANP : mixed
Return values
selfsetInfAdProd()
Set the value of infAdProd
public
setInfAdProd(mixed $infAdProd) : self
Parameters
- $infAdProd : mixed
Return values
selfsetModBC()
Set the value of modBC
public
setModBC(mixed $modBC) : self
Parameters
- $modBC : mixed
Return values
selfsetModBCST()
Set the value of modBCST
public
setModBCST(mixed $modBCST) : self
Parameters
- $modBCST : mixed
Return values
selfsetMotDesICMS()
Set the value of motDesICMS
public
setMotDesICMS(mixed $motDesICMS) : self
Parameters
- $motDesICMS : mixed
Return values
selfsetNCM()
Set the value of NCM
public
setNCM(mixed $NCM) : self
Parameters
- $NCM : mixed
Return values
selfsetOrig()
Set the value of orig
public
setOrig(mixed $orig) : self
Parameters
- $orig : mixed
Return values
selfsetPBCOP()
Set the value of pBCOP
public
setPBCOP(mixed $pBCOP) : self
Parameters
- $pBCOP : mixed
Return values
selfsetPCOFINS()
Set the value of pCOFINS
public
setPCOFINS(mixed $pCOFINS) : self
Parameters
- $pCOFINS : mixed
Return values
selfsetPCOFINSST()
Set the value of pCOFINSST
public
setPCOFINSST(mixed $pCOFINSST) : self
Parameters
- $pCOFINSST : mixed
Return values
selfsetPCredSN()
Set the value of pCredSN
public
setPCredSN(mixed $pCredSN) : self
Parameters
- $pCredSN : mixed
Return values
selfsetPDif()
Set the value of pDif
public
setPDif(mixed $pDif) : self
Parameters
- $pDif : mixed
Return values
selfsetPICMS()
Set the value of pICMS
public
setPICMS(mixed $pICMS) : self
Parameters
- $pICMS : mixed
Return values
selfsetPICMSST()
Set the value of pICMSST
public
setPICMSST(mixed $pICMSST) : self
Parameters
- $pICMSST : mixed
Return values
selfsetPIPI()
Set the value of pIPI
public
setPIPI(mixed $pIPI) : self
Parameters
- $pIPI : mixed
Return values
selfsetPMVAST()
Set the value of pMVAST
public
setPMVAST(mixed $pMVAST) : self
Parameters
- $pMVAST : mixed
Return values
selfsetPPIS()
Set the value of pPIS
public
setPPIS(mixed $pPIS) : self
Parameters
- $pPIS : mixed
Return values
selfsetPPISST()
Set the value of pPISST
public
setPPISST(mixed $pPISST) : self
Parameters
- $pPISST : mixed
Return values
selfsetPRedBC()
Set the value of pRedBC
public
setPRedBC(mixed $pRedBC) : self
Parameters
- $pRedBC : mixed
Return values
selfsetPRedBCST()
Set the value of pRedBCST
public
setPRedBCST(mixed $pRedBCST) : self
Parameters
- $pRedBCST : mixed
Return values
selfsetQBCProdCOFINS()
Set the value of qBCProdCOFINS
public
setQBCProdCOFINS(mixed $qBCProdCOFINS) : self
Parameters
- $qBCProdCOFINS : mixed
Return values
selfsetQBCProdCOFINSST()
Set the value of qBCProdCOFINSST
public
setQBCProdCOFINSST(mixed $qBCProdCOFINSST) : self
Parameters
- $qBCProdCOFINSST : mixed
Return values
selfsetQBCProdPIS()
Set the value of qBCProdPIS
public
setQBCProdPIS(mixed $qBCProdPIS) : self
Parameters
- $qBCProdPIS : mixed
Return values
selfsetQBCProdPISST()
Set the value of qBCProdPISST
public
setQBCProdPISST(mixed $qBCProdPISST) : self
Parameters
- $qBCProdPISST : mixed
Return values
selfsetQSelo()
Set the value of qSelo
public
setQSelo(mixed $qSelo) : self
Parameters
- $qSelo : mixed
Return values
selfsetQUnidIPI()
Set the value of qUnidIPI
public
setQUnidIPI(mixed $qUnidIPI) : self
Parameters
- $qUnidIPI : mixed
Return values
selfsetUCom()
Set the value of uCom
public
setUCom(mixed $uCom) : self
Parameters
- $uCom : mixed
Return values
selfsetUFCons()
Set the value of UFCons
public
setUFCons(mixed $UFCons) : self
Parameters
- $UFCons : mixed
Return values
selfsetUTrib()
Set the value of uTrib
public
setUTrib(mixed $uTrib) : self
Parameters
- $uTrib : mixed
Return values
selfsetVAliqProdCOFINS()
Set the value of vAliqProdCOFINS
public
setVAliqProdCOFINS(mixed $vAliqProdCOFINS) : self
Parameters
- $vAliqProdCOFINS : mixed
Return values
selfsetVAliqProdCOFINSST()
Set the value of vAliqProdCOFINSST
public
setVAliqProdCOFINSST(mixed $vAliqProdCOFINSST) : self
Parameters
- $vAliqProdCOFINSST : mixed
Return values
selfsetVAliqProdPIS()
Set the value of vAliqProdPIS
public
setVAliqProdPIS(mixed $vAliqProdPIS) : self
Parameters
- $vAliqProdPIS : mixed
Return values
selfsetVAliqProdPISST()
Set the value of vAliqProdPISST
public
setVAliqProdPISST(mixed $vAliqProdPISST) : self
Parameters
- $vAliqProdPISST : mixed
Return values
selfsetVBC()
Set the value of vBC
public
setVBC(mixed $vBC) : self
Parameters
- $vBC : mixed
Return values
selfsetVBCCOFINS()
Set the value of vBCCOFINS
public
setVBCCOFINS(mixed $vBCCOFINS) : self
Parameters
- $vBCCOFINS : mixed
Return values
selfsetVBCCOFINSST()
Set the value of vBCCOFINSST
public
setVBCCOFINSST(mixed $vBCCOFINSST) : self
Parameters
- $vBCCOFINSST : mixed
Return values
selfsetVBCIPI()
Set the value of vBCIPI
public
setVBCIPI(mixed $vBCIPI) : self
Parameters
- $vBCIPI : mixed
Return values
selfsetVBCPIS()
Set the value of vBCPIS
public
setVBCPIS(mixed $vBCPIS) : self
Parameters
- $vBCPIS : mixed
Return values
selfsetVBCPISST()
Set the value of vBCPISST
public
setVBCPISST(mixed $vBCPISST) : self
Parameters
- $vBCPISST : mixed
Return values
selfsetVBCST1()
Set the value of vBCST1
public
setVBCST1(mixed $vBCST1) : self
Parameters
- $vBCST1 : mixed
Return values
selfsetVCOFINS()
Set the value of vCOFINS
public
setVCOFINS(mixed $vCOFINS) : self
Parameters
- $vCOFINS : mixed
Return values
selfsetVCOFINSST()
Set the value of vCOFINSST
public
setVCOFINSST(mixed $vCOFINSST) : self
Parameters
- $vCOFINSST : mixed
Return values
selfsetVCredICMSSN()
Set the value of vCredICMSSN
public
setVCredICMSSN(mixed $vCredICMSSN) : self
Parameters
- $vCredICMSSN : mixed
Return values
selfsetVDesc()
Set the value of vDesc
public
setVDesc(mixed $vDesc) : self
Parameters
- $vDesc : mixed
Return values
selfsetVICMS()
Set the value of vICMS
public
setVICMS(mixed $vICMS) : self
Parameters
- $vICMS : mixed
Return values
selfsetVICMSDeson()
Set the value of vICMSDeson
public
setVICMSDeson(mixed $vICMSDeson) : self
Parameters
- $vICMSDeson : mixed
Return values
selfsetVICMSDif()
Set the value of vICMSDif
public
setVICMSDif(mixed $vICMSDif) : self
Parameters
- $vICMSDif : mixed
Return values
selfsetVICMSOp()
Set the value of vICMSOp
public
setVICMSOp(mixed $vICMSOp) : self
Parameters
- $vICMSOp : mixed
Return values
selfsetVICMSST()
Set the value of vICMSST
public
setVICMSST(mixed $vICMSST) : self
Parameters
- $vICMSST : mixed
Return values
selfsetVIPI()
Set the value of vIPI
public
setVIPI(mixed $vIPI) : self
Parameters
- $vIPI : mixed
Return values
selfsetVPIS()
Set the value of vPIS
public
setVPIS(mixed $vPIS) : self
Parameters
- $vPIS : mixed
Return values
selfsetVProd()
Set the value of vProd
public
setVProd(mixed $vProd) : self
Parameters
- $vProd : mixed
Return values
selfsetVTrib()
Set the value of vTrib
public
setVTrib(mixed $vTrib) : self
Parameters
- $vTrib : mixed
Return values
selfsetVUnidIPI()
Set the value of vUnidIPI
public
setVUnidIPI(mixed $vUnidIPI) : self
Parameters
- $vUnidIPI : mixed
Return values
selfsetXProd()
Set the value of xProd
public
setXProd(mixed $xProd) : self
Parameters
- $xProd : 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 = '*'