VoucherSerie
Aggrosoft\WAWIBundle\Entity\VoucherSerie
20
Columns
11
Relations
33
Properties
Relationships
Click entity to navigate
↔
Client
↔
Product
↔
Category
↔
CustomerGroup
↔
Customer
→
Customer
↔
ObjectGroup
→
Client
→
Document
←
Voucher
←
VoucherSerieAccessory
Metadaten
Tabelle
voucherserie
Bundle
WAWIBundle
Repository
Aggrosoft\WAWIBundle\Entity\Repository\VoucherSerieRepository
Interfaces
IMultiClientable
IMainClientable
IGroupable
IUpdateTimeTrackable
| Property | Column | Type | Flags | Twig Access |
|---|---|---|---|---|
id
|
id
|
string(36)
|
PK
AUTO
|
{{ entity.id }} |
created
|
created
|
datetime
|
|
{{ entity.created }} |
foreignId
|
foreign_id
|
string(36)
|
|
{{ entity.foreignId }} |
title
|
title
|
string(255)
|
|
{{ entity.title }} |
description
|
description
|
string(255)
|
|
{{ entity.description }} |
note
|
note
|
text
|
|
{{ entity.note }} |
discount
|
discount
|
decimal
|
|
{{ entity.discount }} |
discountType
|
discountType
|
string(36)
|
|
{{ entity.discountType }} |
beginDate
|
beginDate
|
datetime
|
|
{{ entity.beginDate }} |
endDate
|
endDate
|
datetime
|
|
{{ entity.endDate }} |
minimumValue
|
minimumValue
|
decimal
|
|
{{ entity.minimumValue }} |
saleVoucher
|
saleVoucher
|
boolean
|
|
{{ entity.saleVoucher }} |
saleVoucherForAllCustomer
|
saleVoucherForAllCustomer
|
boolean
|
|
{{ entity.saleVoucherForAllCustomer }} |
customerCard
|
customerCard
|
boolean
|
|
{{ entity.customerCard }} |
allowSameSeries
|
allowSameSeries
|
boolean
|
|
{{ entity.allowSameSeries }} |
allowOtherSeries
|
allowOtherSeries
|
boolean
|
|
{{ entity.allowOtherSeries }} |
allowUseAnother
|
allowUseAnother
|
boolean
|
|
{{ entity.allowUseAnother }} |
calculateOnce
|
calculateOnce
|
boolean
|
|
{{ entity.calculateOnce }} |
refundDiscountVoucher
|
refundDiscountVoucher
|
boolean
|
|
{{ entity.refundDiscountVoucher }} |
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 |
|---|---|---|---|---|
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
|
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
|
beginDate
DB
|
read
write
|
{{
entity.beginDate
}}
|
getBeginDate()
setBeginDate()
|
\DateTime
|
endDate
DB
|
read
write
|
{{
entity.endDate
}}
|
getEndDate()
setEndDate()
|
\DateTime
|
minimumValue
DB
|
read
write
|
{{
entity.minimumValue
}}
|
getMinimumValue()
setMinimumValue()
|
string
|
saleVoucher
DB
|
read
write
|
{{
entity.saleVoucher
}}
|
getSaleVoucher()
setSaleVoucher()
|
boolean
|
vouchers
DB
|
read
|
{{
entity.vouchers
}}
|
getVouchers()
|
\Doctrine\Common\Collections\Collection
|
activeClient
Computed
|
read
|
{{
entity.activeClient
}}
|
getActiveClient()
|
- |
clients
DB
|
read
|
{{
entity.clients
}}
|
getClients()
|
- |
created
DB
|
read
write
|
{{
entity.created
}}
|
getCreated()
setCreated()
|
\DateTime
|
mainClient
DB
|
read
write
|
{{
entity.mainClient
}}
|
getMainClient()
setMainClient()
|
\Aggrosoft\WAWIBundle\Entity\Client
|
allowSameSeries
DB
|
read
write
|
{{
entity.allowSameSeries
}}
|
getAllowSameSeries()
setAllowSameSeries()
|
boolean
|
allowOtherSeries
DB
|
read
write
|
{{
entity.allowOtherSeries
}}
|
getAllowOtherSeries()
setAllowOtherSeries()
|
boolean
|
allowUseAnother
DB
|
read
write
|
{{
entity.allowUseAnother
}}
|
getAllowUseAnother()
setAllowUseAnother()
|
boolean
|
calculateOnce
DB
|
read
write
|
{{
entity.calculateOnce
}}
|
getCalculateOnce()
setCalculateOnce()
|
boolean
|
products
DB
|
read
|
{{
entity.products
}}
|
getProducts()
|
\Doctrine\Common\Collections\Collection
|
categories
DB
|
read
|
{{
entity.categories
}}
|
getCategories()
|
\Doctrine\Common\Collections\Collection
|
customerGroups
DB
|
read
|
{{
entity.customerGroups
}}
|
getCustomerGroups()
|
\Doctrine\Common\Collections\Collection
|
document
DB
|
read
write
|
{{
entity.document
}}
|
getDocument()
setDocument()
|
\Aggrosoft\WAWIBundle\Entity\Document
|
customers
DB
|
read
|
{{
entity.customers
}}
|
getCustomers()
|
\Doctrine\Common\Collections\Collection
|
groups
DB
|
read
|
{{
entity.groups
}}
|
getGroups()
|
\Doctrine\Common\Collections\Collection
|
accessories
DB
|
read
|
{{
entity.accessories
}}
|
getAccessories()
|
\Doctrine\Common\Collections\Collection
|
refundDiscountVoucher
DB
|
read
write
|
{{
entity.refundDiscountVoucher
}}
|
getRefundDiscountVoucher()
setRefundDiscountVoucher()
|
boolean
|
customerCard
DB
|
read
write
|
{{
entity.customerCard
}}
|
getCustomerCard()
setCustomerCard()
|
boolean
|
customerCardNumber
Computed
|
read
write
|
{{
entity.customerCardNumber
}}
|
getCustomerCardNumber()
setCustomerCardNumber()
|
- |
customerCardCustomer
DB
|
read
write
|
{{
entity.customerCardCustomer
}}
|
getCustomerCardCustomer()
setCustomerCardCustomer()
|
\Aggrosoft\WAWIBundle\Entity\Customer
|
note
DB
|
read
write
|
{{
entity.note
}}
|
getNote()
setNote()
|
string
|
updated
DB
|
read
write
|
{{
entity.updated
}}
|
getUpdated()
setUpdated()
|
\DateTime
|
saleVoucherForAllCustomer
DB
|
read
write
|
{{
entity.saleVoucherForAllCustomer
}}
|
getSaleVoucherForAllCustomer()
setSaleVoucherForAllCustomer()
|
boolean
|
| Property | Type | Target Entity | Mapped By | Inversed By | Cascade | Twig Access |
|---|---|---|---|---|---|---|
clients
|
ManyToMany | Client | - |
voucherseries
|
- | {{ entity.clients }} |
products
|
ManyToMany | Product |
voucherseries
|
- | - | {{ entity.products }} |
categories
|
ManyToMany | Category |
voucherseries
|
- | - | {{ entity.categories }} |
customerGroups
|
ManyToMany | CustomerGroup |
voucherseries
|
- | - | {{ entity.customerGroups }} |
customers
|
ManyToMany | Customer |
voucherseries
|
- | - | {{ entity.customers }} |
customerCardCustomer
|
ManyToOne | Customer | - | - | - | {{ entity.customerCardCustomer }} |
groups
|
ManyToMany | ObjectGroup | - |
voucherseries
|
- | {{ entity.groups }} |
mainClient
|
ManyToOne | Client | - | - | - | {{ entity.mainClient }} |
document
|
ManyToOne | Document | - | - | - | {{ entity.document }} |
vouchers
|
OneToMany | Voucher |
voucherserie
|
- |
persist
remove
|
{{ entity.vouchers }} |
accessories
|
OneToMany | VoucherSerieAccessory |
voucherserie
|
- |
persist
remove
|
{{ entity.accessories }} |
| Index Name | Columns | Type |
|---|---|---|
foreign_idx
|
foreign_id
|
INDEX |