Table |
name="COMMERCIAL_ARTICLE" |
Entity |
Entity |
Methods
__construct()
__construct()
Add categoryLabel
addCommercialArticleCategory(\CommercialArticleCategory $categoryLabel) : \CommercialArticle
Get categoryLabel
getCategoryLabel() : \Doctrine\Common\Collections\Collection
Returns
\Doctrine\Common\Collections\Collection
Get company
getCompany() : \CoreCompanies
Get companyRef
getCompanyRef() : string
Get description
getDescription() : \text
Get designation
getDesignation() : string
Get isGroup
getIsGroup() : boolean
Get manufacturerRef
getManufacturerRef() : string
Get purchasingPriceDf
getPurchasingPriceDf() : \decimal
Get sellingPriceDf
getSellingPriceDf() : \decimal
Get taxRate
getTaxRate() : \decimal
Set company
setCompany(\CoreCompanies $company) : \CommercialArticle
Parameters
$company
\CoreCompanies
Returns
Set companyRef
setCompanyRef(string $companyRef) : \CommercialArticle
Parameters
$companyRef
string
Returns
Set description
setDescription(\text $description) : \CommercialArticle
Parameters
$description
\text
Returns
Set designation
setDesignation(string $designation) : \CommercialArticle
Parameters
$designation
string
Returns
Set isGroup
setIsGroup(boolean $isGroup) : \CommercialArticle
Parameters
$isGroup
boolean
Returns
Set manufacturerRef
setManufacturerRef(string $manufacturerRef) : \CommercialArticle
Parameters
$manufacturerRef
string
Returns
Set purchasingPriceDf
setPurchasingPriceDf(\decimal $purchasingPriceDf) : \CommercialArticle
Parameters
$purchasingPriceDf
\decimal
Returns
Set sellingAccount
setSellingAccount(\CommercialSellingAccount $sellingAccount) : \CommercialArticle
Set sellingPriceDf
setSellingPriceDf(\decimal $sellingPriceDf) : \CommercialArticle
Parameters
$sellingPriceDf
\decimal
Returns
Set taxRate
setTaxRate(\decimal $taxRate) : \CommercialArticle
Parameters
$taxRate
\decimal
Returns
Properties
$categoryLabel : \Doctrine\Common\Collections\ArrayCollection
ManyToMany |
targetEntity="CommercialArticleCategory", inversedBy="article", orphanRemoval=true |
JoinTable |
name="commercial_assoc_arcicles_categories",
joinColumns={
@JoinColumn(name="article_id", referencedColumnName="id")
},
inverseJoinColumns={
@JoinColumn(name="category_label", referencedColumnName="label")
}
|
$company : \CoreCompanies
ManyToOne |
targetEntity="CoreCompanies" |
JoinColumns |
({
@JoinColumn(name="company_id", referencedColumnName="id")
}) |
$companyRef : string
Column |
name="company_ref", type="string", length=45 |
$description : \text
Column |
name="description", type="text" |
$designation : string
Column |
name="designation", type="string", length=120 |
$id : integer
Column |
name="id", type="integer" |
Id |
Id |
GeneratedValue |
strategy="IDENTITY" |
$isGroup : boolean
Column |
name="is_group", type="boolean" |
$manufacturerRef : string
Column |
name="manufacturer_ref", type="string", length=45 |
$parent : \CommercialArticle
ManyToOne |
targetEntity="CommercialArticle" |
JoinColumns |
({
@JoinColumn(name="parent_id", referencedColumnName="id")
}) |
$purchasingPriceDf : \decimal
Column |
name="purchasing_price_df", type="decimal" |
$sellingAccount : \CommercialSellingAccount
ManyToOne |
targetEntity="CommercialSellingAccount" |
JoinColumns |
({
@JoinColumn(name="selling_account_id", referencedColumnName="id")
}) |
$sellingPriceDf : \decimal
Column |
name="selling_price_df", type="decimal" |
$taxRate : \decimal
Column |
name="tax_rate", type="decimal" |