Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <entity name="Category" local-name="Category" namespace="CoreBundle\Entity" uuid="c2bb6474-43dc-44c4-a812-44c52c1c961c">
- <field name="id" type="integer" required="true" unique="true" primary="true" auto-increment="true" uuid="bf0bf088-4760-4d99-bc80-6af252d7081c">
- <orm-attributes>
- <attribute name="generator">
- <attribute name="strategy">AUTO</attribute>
- </attribute>
- </orm-attributes>
- </field>
- <field name="title" type="string" size="255" required="true" uuid="be8d7fe8-32e5-4b93-a95f-e0877c01da23"/>
- <field name="position" type="integer" required="true" uuid="65d19d8b-af7b-4519-b50a-2b3b1a7eff22"/>
- <field name="left" type="integer" uuid="cf718858-a96b-42a9-9ada-32b3495ce3bc">
- <orm-attributes>
- <attribute name="column">lft</attribute>
- </orm-attributes>
- </field>
- <field name="level" type="integer" uuid="1eec7779-4cfe-42cc-ae22-52a66fe19697">
- <orm-attributes>
- <attribute name="column">lvl</attribute>
- </orm-attributes>
- </field>
- <field name="right" type="integer" uuid="09fd562e-b431-4390-a408-779964cfc506">
- <orm-attributes>
- <attribute name="column">rgt</attribute>
- </orm-attributes>
- </field>
- <field name="parent_id" type="integer" uuid="688a5e89-9b5a-4ec9-b633-80467cfe239e"/>
- <field name="root_id" type="integer" uuid="0b7cab36-98ec-470f-87f8-e4252f03b9c3"/>
- <orm-attributes>
- <attribute name="Gedmo">
- <attribute name="Tree">
- <attribute name="Type">nested</attribute>
- <attribute name="Fields">
- <attribute name="TreeLeft">left</attribute>
- <attribute name="TreeLevel">level</attribute>
- <attribute name="TreeRight">right</attribute>
- <attribute name="TreeRoot">root_id</attribute>
- <attribute name="TreeParent">parent_id</attribute>
- </attribute>
- </attribute>
- <attribute name="Translatable">
- <attribute name="Fields">
- <attribute name="Field">title</attribute>
- </attribute>
- </attribute>
- <attribute name="Sortable">
- <attribute name="SortablePosition">position</attribute>
- </attribute>
- </attribute>
- <attribute name="attribute-overrides">
- <attribute name="attribute-override"/>
- </attribute>
- </orm-attributes>
- </entity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement