Discount
Aggrosoft\WAWIBundle\Entity\Discount
21
Columns
10
Relations
36
Properties
Relationships
Click entity to navigate
↔
Client
↔
Product
↔
Category
↔
Country
↔
CustomerGroup
↔
SalesChannel
↔
Customer
↔
ObjectGroup
←
DiscountAccessory
→
Client
Metadaten
Tabelle
discount
Bundle
WAWIBundle
Repository
Aggrosoft\WAWIBundle\Entity\Repository\DiscountRepository
Interfaces
IMultiClientable
IMainClientable
IPrototype
IHasLanguage
Translatable
IUpdateTimeTrackable
IGroupable
| Property | Column | Type | Flags | Twig Access |
|---|---|---|---|---|
id
|
id
|
string(36)
|
PK
AUTO
|
{{ entity.id }} |
foreignId
|
foreign_id
|
string(36)
|
|
{{ entity.foreignId }} |
title
|
title
|
string(255)
|
|
{{ entity.title }} |
active
|
active
|
boolean
|
|
{{ entity.active }} |
lastDiscount
|
lastDiscount
|
boolean
|
|
{{ entity.lastDiscount }} |
validOnlyWithAssignedItems
|
validOnlyWithAssignedItems
|
boolean
|
|
{{ entity.validOnlyWithAssignedItems }} |
validOnlyWithAssignedProducts
|
validOnlyWithAssignedProducts
|
boolean
|
|
{{ entity.validOnlyWithAssignedProducts }} |
noSalesChannel
|
noSalesChannel
|
boolean
|
|
{{ entity.noSalesChannel }} |
itemAbsoluteDiscount
|
itemAbsoluteDiscount
|
boolean
|
|
{{ entity.itemAbsoluteDiscount }} |
sort
|
sort
|
integer(11)
|
|
{{ entity.sort }} |
beginDate
|
beginDate
|
datetime
|
|
{{ entity.beginDate }} |
endDate
|
endDate
|
datetime
|
|
{{ entity.endDate }} |
minimumPurchaseValue
|
minimumPurchaseValue
|
decimal
|
|
{{ entity.minimumPurchaseValue }} |
maximumPurchaseValue
|
maximumPurchaseValue
|
decimal
|
|
{{ entity.maximumPurchaseValue }} |
minimumPurchaseAmount
|
minimumPurchaseAmount
|
decimal
|
|
{{ entity.minimumPurchaseAmount }} |
maximumPurchaseAmount
|
maximumPurchaseAmount
|
decimal
|
|
{{ entity.maximumPurchaseAmount }} |
description
|
description
|
string(255)
|
|
{{ entity.description }} |
discount
|
discount
|
decimal
|
|
{{ entity.discount }} |
discountType
|
discountType
|
string(36)
|
|
{{ entity.discountType }} |
note
|
note
|
text
|
|
{{ entity.note }} |
updated
|
updated
|
datetime
|
|
{{ entity.updated }} |
Tipp: Diese Properties sind über Getter/Setter-Methoden in Twig verfügbar.
Verwende {{ entity.propertyName }} zum Lesen.
| Property | Access | Twig Usage | Methods | Return Type |
|---|---|---|---|---|
clients
DB
|
read
|
{{
entity.clients
}}
|
getClients()
|
\Doctrine\Common\Collections\Collection
|
activeClient
Computed
|
read
|
{{
entity.activeClient
}}
|
getActiveClient()
|
- |
language
Computed
|
read
|
{{
entity.language
}}
|
getLanguage()
|
- |
selectedLanguage
Computed
|
read
write
|
{{
entity.selectedLanguage
}}
|
getSelectedLanguage()
setSelectedLanguage()
|
- |
translatableLocale
Computed
|
write
|
|
setTranslatableLocale()
|
- |
mainClient
DB
|
read
write
|
{{
entity.mainClient
}}
|
getMainClient()
setMainClient()
|
- |
id
DB
|
read
|
{{
entity.id
}}
|
getId()
|
string
|
foreignId
DB
|
read
write
|
{{
entity.foreignId
}}
|
getForeignId()
setForeignId()
|
string
|
title
DB
|
read
write
|
{{
entity.title
}}
|
getTitle()
setTitle()
|
string
|
active
DB
|
read
write
|
{{
entity.active
}}
|
getActive()
setActive()
|
boolean
|
beginDate
DB
|
read
write
|
{{
entity.beginDate
}}
|
getBeginDate()
setBeginDate()
|
\DateTime
|
endDate
DB
|
read
write
|
{{
entity.endDate
}}
|
getEndDate()
setEndDate()
|
\DateTime
|
minimumPurchaseValue
DB
|
read
write
|
{{
entity.minimumPurchaseValue
}}
|
getMinimumPurchaseValue()
setMinimumPurchaseValue()
|
string
|
maximumPurchaseValue
DB
|
read
write
|
{{
entity.maximumPurchaseValue
}}
|
getMaximumPurchaseValue()
setMaximumPurchaseValue()
|
string
|
minimumPurchaseAmount
DB
|
read
write
|
{{
entity.minimumPurchaseAmount
}}
|
getMinimumPurchaseAmount()
setMinimumPurchaseAmount()
|
string
|
maximumPurchaseAmount
DB
|
read
write
|
{{
entity.maximumPurchaseAmount
}}
|
getMaximumPurchaseAmount()
setMaximumPurchaseAmount()
|
string
|
description
DB
|
read
write
|
{{
entity.description
}}
|
getDescription()
setDescription()
|
string
|
discount
DB
|
read
write
|
{{
entity.discount
}}
|
getDiscount()
setDiscount()
|
string
|
discountType
DB
|
read
write
|
{{
entity.discountType
}}
|
getDiscountType()
setDiscountType()
|
string
|
products
DB
|
read
|
{{
entity.products
}}
|
getProducts()
|
\Doctrine\Common\Collections\Collection
|
categories
DB
|
read
|
{{
entity.categories
}}
|
getCategories()
|
\Doctrine\Common\Collections\Collection
|
countries
DB
|
read
|
{{
entity.countries
}}
|
getCountries()
|
\Doctrine\Common\Collections\Collection
|
customerGroups
DB
|
read
|
{{
entity.customerGroups
}}
|
getCustomerGroups()
|
\Doctrine\Common\Collections\Collection
|
salesChannels
DB
|
read
|
{{
entity.salesChannels
}}
|
getSalesChannels()
|
\Doctrine\Common\Collections\Collection
|
customers
DB
|
read
|
{{
entity.customers
}}
|
getCustomers()
|
\Doctrine\Common\Collections\Collection
|
lastDiscount
DB
|
read
write
|
{{
entity.lastDiscount
}}
|
getLastDiscount()
setLastDiscount()
|
boolean
|
sort
DB
|
read
write
|
{{
entity.sort
}}
|
getSort()
setSort()
|
integer
|
updated
DB
|
read
write
|
{{
entity.updated
}}
|
getUpdated()
setUpdated()
|
\DateTime
|
noSalesChannel
DB
|
read
write
|
{{
entity.noSalesChannel
}}
|
getNoSalesChannel()
setNoSalesChannel()
|
boolean
|
groups
DB
|
read
|
{{
entity.groups
}}
|
getGroups()
|
\Doctrine\Common\Collections\Collection
|
accessories
DB
|
read
|
{{
entity.accessories
}}
|
getAccessories()
|
\Doctrine\Common\Collections\Collection
|
itemAbsoluteDiscount
DB
|
read
write
|
{{
entity.itemAbsoluteDiscount
}}
|
getItemAbsoluteDiscount()
setItemAbsoluteDiscount()
|
boolean
|
validOnlyWithAssignedItems
DB
|
read
write
|
{{
entity.validOnlyWithAssignedItems
}}
|
getValidOnlyWithAssignedItems()
setValidOnlyWithAssignedItems()
|
boolean
|
validOnlyWithAssignedProducts
DB
|
read
write
|
{{
entity.validOnlyWithAssignedProducts
}}
|
getValidOnlyWithAssignedProducts()
setValidOnlyWithAssignedProducts()
|
boolean
|
entityLocale
Computed
|
read
|
{{
entity.entityLocale
}}
|
getEntityLocale()
|
- |
note
DB
|
read
write
|
{{
entity.note
}}
|
getNote()
setNote()
|
string
|
| Property | Type | Target Entity | Mapped By | Inversed By | Cascade | Twig Access |
|---|---|---|---|---|---|---|
clients
|
ManyToMany | Client | - |
discounts
|
- | {{ entity.clients }} |
products
|
ManyToMany | Product |
discounts
|
- | - | {{ entity.products }} |
categories
|
ManyToMany | Category |
discounts
|
- | - | {{ entity.categories }} |
countries
|
ManyToMany | Country |
discounts
|
- | - | {{ entity.countries }} |
customerGroups
|
ManyToMany | CustomerGroup |
discounts
|
- | - | {{ entity.customerGroups }} |
salesChannels
|
ManyToMany | SalesChannel | - |
discounts
|
persist
|
{{ entity.salesChannels }} |
customers
|
ManyToMany | Customer |
discounts
|
- | - | {{ entity.customers }} |
groups
|
ManyToMany | ObjectGroup | - |
discounts
|
- | {{ entity.groups }} |
accessories
|
OneToMany | DiscountAccessory |
discount
|
- |
persist
remove
|
{{ entity.accessories }} |
mainClient
|
ManyToOne | Client | - | - | - | {{ entity.mainClient }} |
Keine Indexes definiert