ProductMedia

Aggrosoft\WAWIBundle\Entity\ProductMedia
8
Columns
2
Relations
17
Properties

Relationships

Click entity to navigate
erDiagram
    ProductMedia {
                string id PK
                string fileName
                string mediaUrl
                string description
                string fileType
                string foreignId
                        ___ ___more___
            }
                ProductMedia }o--|| Product : "product"
        Product {
        int id PK
    }
                ProductMedia ||--o{ ProductMediaMetaField : "metafields"
        ProductMediaMetaField {
        int id PK
    }
                    

Metadaten

Tabelle productmedia
Bundle WAWIBundle
Interfaces
IUpload Translatable IForeignClientable IMetaExtendable
Property Column Type Flags Twig Access
id id string(36)
PK AUTO
{{ entity.id }}
fileName file string(255)
{{ entity.fileName }}
mediaUrl mediaUrl string(255)
{{ entity.mediaUrl }}
description description string(255)
{{ entity.description }}
fileType fileType string(64)
{{ entity.fileType }}
foreignId foreign_id string(36)
{{ entity.foreignId }}
created created datetime
{{ entity.created }}
lastUpdated lastupdated integer(11)
{{ entity.lastUpdated }}

Tipp: Diese Properties sind über Getter/Setter-Methoden in Twig verfügbar. Verwende {{ entity.propertyName }} zum Lesen.

Property Access Twig Usage Methods Return Type
sharedUploadPath Computed
read
{{ entity.sharedUploadPath }}
hasSharedUploadPath()
-
id DB
read write
{{ entity.id }}
getId()
setId()
string
uploadFields Computed
read
{{ entity.uploadFields }}
getUploadFields()
-
file Computed
read write
{{ entity.file }}
getFile()
setFile()
-
fileName DB
read write
{{ entity.fileName }}
getFileName()
setFileName()
string
mediaUrl DB
read write
{{ entity.mediaUrl }}
getMediaUrl()
setMediaUrl()
string
description DB
read write
{{ entity.description }}
getDescription()
setDescription()
string
lastUpdated DB
read write
{{ entity.lastUpdated }}
getLastUpdated()
setLastUpdated()
integer
product DB
read write
{{ entity.product }}
getProduct()
setProduct()
\Aggrosoft\WAWIBundle\Entity\Product
fileType DB
read write
{{ entity.fileType }}
getFileType()
setFileType()
string
foreignId DB
read write
{{ entity.foreignId }}
getForeignId()
setForeignId()
string
subPath Computed
read
{{ entity.subPath }}
getSubPath()
-
foreignClient Computed
read
{{ entity.foreignClient }}
getForeignClient()
-
translatableLocale Computed
write

setTranslatableLocale()
-
removeRouter Computed
read
{{ entity.removeRouter }}
getRemoveRouter()
-
created DB
read write
{{ entity.created }}
getCreated()
setCreated()
\DateTime
metafields DB
read
{{ entity.metafields }}
getMetafields()
\Doctrine\Common\Collections\Collection
Property Type Target Entity Mapped By Inversed By Cascade Twig Access
product ManyToOne Product - mediafiles - {{ entity.product }}
metafields OneToMany ProductMediaMetaField productmedia -
persist remove
{{ entity.metafields }}
Keine Indexes definiert