State

Aggrosoft\WAWIBundle\Entity\State
7
Columns
4
Relations
11
Properties

Relationships

Click entity to navigate
erDiagram
    State {
                string id PK
                string foreignId
                string foreignCountryId
                string title
                boolean active
                string isocode
                        ___ ___more___
            }
                State ||--o{ Customer : "customers"
        Customer {
        int id PK
    }
                State ||--o{ Address : "addresses"
        Address {
        int id PK
    }
                State }o--|| Country : "country"
        Country {
        int id PK
    }
                State ||--o{ StateMetaField : "metafields"
        StateMetaField {
        int id PK
    }
                    

Metadaten

Tabelle state
Bundle WAWIBundle
Interfaces
IMetaExtendable
Property Column Type Flags Twig Access
id id string(36)
PK AUTO
{{ entity.id }}
foreignId foreign_id string(36)
{{ entity.foreignId }}
foreignCountryId foreign_country_id string(36)
{{ entity.foreignCountryId }}
title title string(255)
{{ entity.title }}
active active boolean
{{ entity.active }}
isocode isocode string(3)
{{ entity.isocode }}
sort sort integer(11)
{{ entity.sort }}

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
foreignCountryId DB
read write
{{ entity.foreignCountryId }}
getForeignCountryId()
setForeignCountryId()
string
title DB
read write
{{ entity.title }}
getTitle()
setTitle()
string
active DB
read write
{{ entity.active }}
getActive()
setActive()
boolean
isocode DB
read write
{{ entity.isocode }}
getIsocode()
setIsocode()
string
sort DB
read write
{{ entity.sort }}
getSort()
setSort()
integer
customers DB
read
{{ entity.customers }}
getCustomers()
Doctrine\Common\Collections\Collection
country DB
read write
{{ entity.country }}
getCountry()
setCountry()
Aggrosoft\WAWIBundle\Entity\Country
addresses DB
read
{{ entity.addresses }}
getAddresses()
\Doctrine\Common\Collections\Collection
metafields DB
read
{{ entity.metafields }}
getMetafields()
\Doctrine\Common\Collections\Collection
Property Type Target Entity Mapped By Inversed By Cascade Twig Access
customers OneToMany Customer state - - {{ entity.customers }}
addresses OneToMany Address state - - {{ entity.addresses }}
country ManyToOne Country - states - {{ entity.country }}
metafields OneToMany StateMetaField state -
persist remove
{{ entity.metafields }}
Index Name Columns Type
search_idx
isocode
INDEX