Guest User

Untitled

a guest
May 30th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.38 KB | None | 0 0
  1. Watch\CatalogBundle\Entity\Category:
  2.     type: entity
  3.     table: ~
  4.     fields:
  5.         id:
  6.             type: integer
  7.             id: true
  8.             generator:
  9.                 strategy: AUTO
  10.         url:
  11.             type: string
  12.             nullable: true
  13.         rate:
  14.             type: float
  15.             nullable: true
  16.             options:
  17.                 default: 1
  18.     oneToOne:
  19.         current:
  20.             targetEntity: Watch\MoySkladBundle\Entity\Category
  21.             joinColumn:
  22.                 name: current_uuid
  23.                 referencedColumnName: uuid
  24.         parent:
  25.             targetEntity: Watch\MoySkladBundle\Entity\Category
  26.             joinColumn:
  27.                 name: parent_uuid
  28.                 referencedColumnName: uuid
  29.  
  30.     lifecycleCallbacks: {  }
  31.  
  32. Watch\MoySkladBundle\Entity\Category:
  33.     type: entity
  34.     table: ms_category
  35.     fields:
  36.         id:
  37.             type: integer
  38.             id: true
  39.             generator:
  40.                 strategy: AUTO
  41.         uuid:
  42.             type: string
  43.             unique: true
  44.         parent_uuid:
  45.             type: string
  46.             nullable: true
  47.         updated:
  48.             type: datetime
  49.             nullable: true
  50.         description:
  51.             type: text
  52.             nullable: true
  53.         name:
  54.             type: string
  55.             nullable: true
  56.  
  57.     lifecycleCallbacks: {  }
Advertisement
Add Comment
Please, Sign In to add comment