DiscountAccessory
Aggrosoft\WAWIBundle\Entity\DiscountAccessory
7
Columns
4
Relations
11
Properties
Metadaten
Tabelle
discountaccessory
Bundle
WAWIBundle
Interfaces
IPrototype
ICloneTimeTrackable
| Property | Column | Type | Flags | Twig Access |
|---|---|---|---|---|
id
|
id
|
string(36)
|
PK
AUTO
|
{{ entity.id }} |
quantity
|
quantity
|
string(255)
|
|
{{ entity.quantity }} |
price
|
price
|
decimal
|
|
{{ entity.price }} |
cartType
|
cartType
|
integer(2)
|
|
{{ entity.cartType }} |
activeFrom
|
activeFrom
|
date
|
|
{{ entity.activeFrom }} |
cloneDate
|
cloneDate
|
datetime
|
|
{{ entity.cloneDate }} |
activeTo
|
activeTo
|
date
|
|
{{ entity.activeTo }} |
Tipp: Diese Properties sind über Getter/Setter-Methoden in Twig verfügbar.
Verwende {{ entity.propertyName }} zum Lesen.
| Property | Access | Twig Usage | Methods | Return Type |
|---|---|---|---|---|
id
DB
|
read
|
{{
entity.id
}}
|
getId()
|
string
|
quantity
DB
|
read
write
|
{{
entity.quantity
}}
|
getQuantity()
setQuantity()
|
string
|
price
DB
|
read
write
|
{{
entity.price
}}
|
getPrice()
setPrice()
|
string
|
cartType
DB
|
read
write
|
{{
entity.cartType
}}
|
getCartType()
setCartType()
|
integer
|
activeFrom
DB
|
read
write
|
{{
entity.activeFrom
}}
|
getActiveFrom()
setActiveFrom()
|
\DateTime
|
activeTo
DB
|
read
write
|
{{
entity.activeTo
}}
|
getActiveTo()
setActiveTo()
|
\DateTime
|
accessoryProduct
DB
|
read
write
|
{{
entity.accessoryProduct
}}
|
getAccessoryProduct()
setAccessoryProduct()
|
\Aggrosoft\WAWIBundle\Entity\Product
|
discount
DB
|
read
write
|
{{
entity.discount
}}
|
getDiscount()
setDiscount()
|
\Aggrosoft\WAWIBundle\Entity\Discount
|
customerGroups
DB
|
read
|
{{
entity.customerGroups
}}
|
getCustomerGroups()
|
\Doctrine\Common\Collections\Collection
|
excludedCustomerGroups
DB
|
read
|
{{
entity.excludedCustomerGroups
}}
|
getExcludedCustomerGroups()
|
\Doctrine\Common\Collections\Collection
|
cloneDate
DB
|
read
write
|
{{
entity.cloneDate
}}
|
getCloneDate()
setCloneDate()
|
\DateTime
|
| Property | Type | Target Entity | Mapped By | Inversed By | Cascade | Twig Access |
|---|---|---|---|---|---|---|
accessoryProduct
|
ManyToOne | Product | - | - | - | {{ entity.accessoryProduct }} |
customerGroups
|
ManyToMany | CustomerGroup | - |
discountaccessories
|
- | {{ entity.customerGroups }} |
excludedCustomerGroups
|
ManyToMany | CustomerGroup | - |
excludeddiscountaccessories
|
- | {{ entity.excludedCustomerGroups }} |
discount
|
ManyToOne | Discount | - |
accessories
|
- | {{ entity.discount }} |
Keine Indexes definiert