ProductOption

Aggrosoft\WAWIBundle\Entity\ProductOption
7
Columns
7
Relations
21
Properties

Relationships

Click entity to navigate
erDiagram
    ProductOption {
                string id PK
                string foreignId
                string title
                string ident
                boolean deactivated
                integer sort
                        ___ ___more___
            }
                ProductOption }o--o{ Product : "products"
        Product {
        int id PK
    }
                ProductOption ||--o{ ProductOptionField : "fields"
        ProductOptionField {
        int id PK
    }
                ProductOption ||--o{ ProductOptionMetaField : "metafields"
        ProductOptionMetaField {
        int id PK
    }
                ProductOption }o--o{ Client : "clients"
        Client {
        int id PK
    }
                ProductOption }o--|| Client : "mainClient"
        Client {
        int id PK
    }
                ProductOption }o--|| Product : "baseMaterial"
        Product {
        int id PK
    }
                ProductOption }o--o{ ObjectGroup : "groups"
        ObjectGroup {
        int id PK
    }
                    

Metadaten

Tabelle productoption
Bundle WAWIBundle
Repository Aggrosoft\WAWIBundle\Entity\Repository\ProductOptionRepository
Interfaces
IMultiClientable IMetaExtendable IMainClientable Translatable IGroupable IClientClonable IPrototype IUpdateTimeTrackable
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 }}
ident ident string(255)
{{ entity.ident }}
deactivated deactivated boolean
{{ entity.deactivated }}
sort sort integer(11)
{{ entity.sort }}
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 write
{{ entity.id }}
getId()
setId()
string
foreignId DB
read write
{{ entity.foreignId }}
getForeignId()
setForeignId()
string
title DB
read write
{{ entity.title }}
getTitle()
setTitle()
string
fullTitle Computed
read
{{ entity.fullTitle }}
getFullTitle()
-
ident DB
read write
{{ entity.ident }}
getIdent()
setIdent()
string
sort DB
read write
{{ entity.sort }}
getSort()
setSort()
integer
products DB
read
{{ entity.products }}
getProducts()
\Doctrine\Common\Collections\Collection
fields DB
read
{{ entity.fields }}
getFields()
\Doctrine\Common\Collections\Collection
clients DB
read
{{ entity.clients }}
getClients()
\Doctrine\Common\Collections\Collection
activeClient Computed
read
{{ entity.activeClient }}
getActiveClient()
-
metafields DB
read
{{ entity.metafields }}
getMetafields()
\Doctrine\Common\Collections\Collection
translatableLocale Computed
write

setTranslatableLocale()
-
mainClient DB
read write
{{ entity.mainClient }}
getMainClient()
setMainClient()
\Aggrosoft\WAWIBundle\Entity\Client
materials Computed
read
{{ entity.materials }}
hasMaterials()
-
materialsWithoutQuantity Computed
read
{{ entity.materialsWithoutQuantity }}
hasMaterialsWithoutQuantity()
-
baseMaterial DB
read write
{{ entity.baseMaterial }}
getBaseMaterial()
setBaseMaterial()
\Aggrosoft\WAWIBundle\Entity\Product
groups DB
read
{{ entity.groups }}
getGroups()
\Doctrine\Common\Collections\Collection
entityLocale Computed
read
{{ entity.entityLocale }}
getEntityLocale()
-
fullTitleWithClient Computed
read
{{ entity.fullTitleWithClient }}
getFullTitleWithClient()
-
updated DB
read write
{{ entity.updated }}
getUpdated()
setUpdated()
\DateTime
deactivated DB
read write
{{ entity.deactivated }}
getDeactivated()
setDeactivated()
boolean
Property Type Target Entity Mapped By Inversed By Cascade Twig Access
products ManyToMany Product options - - {{ entity.products }}
fields OneToMany ProductOptionField productoption -
persist remove refresh
{{ entity.fields }}
metafields OneToMany ProductOptionMetaField productoption -
persist remove
{{ entity.metafields }}
clients ManyToMany Client - productoptions - {{ entity.clients }}
mainClient ManyToOne Client - - - {{ entity.mainClient }}
baseMaterial ManyToOne Product - - - {{ entity.baseMaterial }}
groups ManyToMany ObjectGroup - productoptions - {{ entity.groups }}
Index Name Columns Type
search_idx
foreign_id
INDEX