Mapping.Fixture.Xml.Translatable.dcm.xml 949 B

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
  3. xmlns:gedmo="http://gediminasm.org/schemas/orm/doctrine-extensions-mapping">
  4. <entity name="Mapping\Fixture\Xml\Translatable" table="translatables">
  5. <id name="id" type="integer" column="id">
  6. <generator strategy="AUTO"/>
  7. </id>
  8. <field name="title" type="string" length="128">
  9. <gedmo:translatable/>
  10. </field>
  11. <field name="content" type="text">
  12. <gedmo:translatable/>
  13. </field>
  14. <field name="author" type="text">
  15. <gedmo:translatable fallback="true"/>
  16. </field>
  17. <field name="views" type="text">
  18. <gedmo:translatable fallback="false"/>
  19. </field>
  20. <gedmo:translation entity="Gedmo\Translatable\Entity\Translation" locale="locale"/>
  21. </entity>
  22. </doctrine-mapping>