CustomerGroup

Aggrosoft\WAWIBundle\Entity\CustomerGroup
12
Columns
9
Relations
21
Properties

Relationships

Click entity to navigate
erDiagram
    CustomerGroup {
                string id PK
                string foreignId
                string title
                boolean active
                boolean nettoMode
                integer sort
                        ___ ___more___
            }
                CustomerGroup ||--o{ CustomerGroupMetaField : "metafields"
        CustomerGroupMetaField {
        int id PK
    }
                CustomerGroup }o--o{ Customer : "customers"
        Customer {
        int id PK
    }
                CustomerGroup }o--o{ Product : "products"
        Product {
        int id PK
    }
                CustomerGroup }o--o{ Category : "categories"
        Category {
        int id PK
    }
                CustomerGroup }o--o{ Category : "restrictedCategories"
        Category {
        int id PK
    }
                CustomerGroup }o--o{ VoucherSerie : "voucherseries"
        VoucherSerie {
        int id PK
    }
                CustomerGroup }o--o{ Discount : "discounts"
        Discount {
        int id PK
    }
                CustomerGroup }o--o{ ObjectGroup : "groups"
        ObjectGroup {
        int id PK
    }
                CustomerGroup }o--o{ ShippingCost : "shippingcosts"
        ShippingCost {
        int id PK
    }
                    

Metadaten

Tabelle customergroup
Bundle WAWIBundle
Interfaces
IMetaExtendable IPrototype 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 }}
nettoMode nettoMode boolean
{{ entity.nettoMode }}
sort sort integer(11)
{{ entity.sort }}
ident ident string(255)
{{ entity.ident }}
displayProductsForOther displayProductsForOther boolean
{{ entity.displayProductsForOther }}
noShopOverride noShopOverride boolean
{{ entity.noShopOverride }}
paymentTerm paymentTerm integer(2)
{{ entity.paymentTerm }}
cashDiscountPercent cashDiscountPercent decimal
{{ entity.cashDiscountPercent }}
cashDiscountDays cashDiscountDays integer(8)
{{ entity.cashDiscountDays }}

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
active DB
read write
{{ entity.active }}
getActive()
setActive()
boolean
customers DB
read
{{ entity.customers }}
getCustomers()
\Doctrine\Common\Collections\Collection
products DB
read
{{ entity.products }}
getProducts()
\Doctrine\Common\Collections\Collection
voucherseries DB
read
{{ entity.voucherseries }}
getVoucherseries()
\Doctrine\Common\Collections\Collection
sort DB
read write
{{ entity.sort }}
getSort()
setSort()
integer
shippingcosts DB
read
{{ entity.shippingcosts }}
getShippingcosts()
\Doctrine\Common\Collections\Collection
discounts DB
read
{{ entity.discounts }}
getDiscounts()
\Doctrine\Common\Collections\Collection
ident DB
read write
{{ entity.ident }}
getIdent()
setIdent()
string
metafields DB
read
{{ entity.metafields }}
getMetafields()
\Doctrine\Common\Collections\Collection
nettoMode DB
read write
{{ entity.nettoMode }}
getNettoMode()
setNettoMode()
boolean
displayProductsForOther DB
read write
{{ entity.displayProductsForOther }}
getDisplayProductsForOther()
setDisplayProductsForOther()
boolean
categories DB
read
{{ entity.categories }}
getCategories()
\Doctrine\Common\Collections\Collection
paymentTerm DB
read write
{{ entity.paymentTerm }}
getPaymentTerm()
setPaymentTerm()
integer
cashDiscountPercent DB
read write
{{ entity.cashDiscountPercent }}
getCashDiscountPercent()
setCashDiscountPercent()
string
cashDiscountDays DB
read write
{{ entity.cashDiscountDays }}
getCashDiscountDays()
setCashDiscountDays()
integer
groups DB
read
{{ entity.groups }}
getGroups()
\Doctrine\Common\Collections\Collection
restrictedCategories DB
read
{{ entity.restrictedCategories }}
getRestrictedCategories()
\Doctrine\Common\Collections\Collection
noShopOverride DB
read write
{{ entity.noShopOverride }}
getNoShopOverride()
setNoShopOverride()
boolean
Property Type Target Entity Mapped By Inversed By Cascade Twig Access
metafields OneToMany CustomerGroupMetaField customerGroup -
persist remove
{{ entity.metafields }}
customers ManyToMany Customer groups - - {{ entity.customers }}
products ManyToMany Product customergroups - - {{ entity.products }}
categories ManyToMany Category customergroups - - {{ entity.categories }}
restrictedCategories ManyToMany Category - - - {{ entity.restrictedCategories }}
voucherseries ManyToMany VoucherSerie - customerGroups - {{ entity.voucherseries }}
discounts ManyToMany Discount - customerGroups - {{ entity.discounts }}
groups ManyToMany ObjectGroup - customergroups - {{ entity.groups }}
shippingcosts ManyToMany ShippingCost customerGroups - - {{ entity.shippingcosts }}
Keine Indexes definiert