Advertisement
Guest User

Untitled

a guest
Sep 8th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.48 KB | None | 0 0
  1. <entity name="Category" local-name="Category" namespace="CoreBundle\Entity" uuid="c2bb6474-43dc-44c4-a812-44c52c1c961c">
  2.       <field name="id" type="integer" required="true" unique="true" primary="true" auto-increment="true" uuid="bf0bf088-4760-4d99-bc80-6af252d7081c">
  3.         <orm-attributes>
  4.           <attribute name="generator">
  5.             <attribute name="strategy">AUTO</attribute>
  6.           </attribute>
  7.         </orm-attributes>
  8.       </field>
  9.       <field name="title" type="string" size="255" required="true" uuid="be8d7fe8-32e5-4b93-a95f-e0877c01da23"/>
  10.       <field name="position" type="integer" required="true" uuid="65d19d8b-af7b-4519-b50a-2b3b1a7eff22"/>
  11.       <field name="left" type="integer" uuid="cf718858-a96b-42a9-9ada-32b3495ce3bc">
  12.         <orm-attributes>
  13.           <attribute name="column">lft</attribute>
  14.         </orm-attributes>
  15.       </field>
  16.       <field name="level" type="integer" uuid="1eec7779-4cfe-42cc-ae22-52a66fe19697">
  17.         <orm-attributes>
  18.           <attribute name="column">lvl</attribute>
  19.         </orm-attributes>
  20.       </field>
  21.       <field name="right" type="integer" uuid="09fd562e-b431-4390-a408-779964cfc506">
  22.         <orm-attributes>
  23.           <attribute name="column">rgt</attribute>
  24.         </orm-attributes>
  25.       </field>
  26.       <field name="parent_id" type="integer" uuid="688a5e89-9b5a-4ec9-b633-80467cfe239e"/>
  27.       <field name="root_id" type="integer" uuid="0b7cab36-98ec-470f-87f8-e4252f03b9c3"/>
  28.       <orm-attributes>
  29.         <attribute name="Gedmo">
  30.           <attribute name="Tree">
  31.             <attribute name="Type">nested</attribute>
  32.             <attribute name="Fields">
  33.               <attribute name="TreeLeft">left</attribute>
  34.               <attribute name="TreeLevel">level</attribute>
  35.               <attribute name="TreeRight">right</attribute>
  36.               <attribute name="TreeRoot">root_id</attribute>
  37.               <attribute name="TreeParent">parent_id</attribute>
  38.             </attribute>
  39.           </attribute>
  40.           <attribute name="Translatable">
  41.             <attribute name="Fields">
  42.               <attribute name="Field">title</attribute>
  43.             </attribute>
  44.           </attribute>
  45.           <attribute name="Sortable">
  46.             <attribute name="SortablePosition">position</attribute>
  47.           </attribute>
  48.         </attribute>
  49.         <attribute name="attribute-overrides">
  50.           <attribute name="attribute-override"/>
  51.         </attribute>
  52.       </orm-attributes>
  53.     </entity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement