CommercialAutoIncrement

Table name="COMMERCIAL_AUTO_INCREMENT"
Entity Entity

 Methods

Get company

getCompany() : \CoreCompanies

Returns

\CoreCompanies

Get companyId

getCompanyId() : integer

Returns

integer

Get nextInvoiceId

getNextInvoiceId() : integer

Returns

integer

Set company

setCompany(\CoreCompanies $company) : \CommercialAutoIncrement

Parameters

$company

\CoreCompanies

Returns

Set nextInvoiceId

setNextInvoiceId(integer $nextInvoiceId) : \CommercialAutoIncrement

Parameters

$nextInvoiceId

integer

Returns

 Properties

 

$company : \CoreCompanies
ManyToOne targetEntity="CoreCompanies"
JoinColumns ({ @JoinColumn(name="company_id", referencedColumnName="id") })
 

$companyId : integer
Column name="company_id", type="integer"
Id Id
GeneratedValue strategy="IDENTITY"
 

$nextInvoiceId : integer
Column name="next_invoice_id", type="integer"