Advertisement
Guest User

Untitled

a guest
Sep 27th, 2010
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. Foodtype:
  2. connection: doctrine
  3. tableName: FoodType
  4. columns:
  5. id:
  6. type: integer(4)
  7. primary: true
  8. autoincrement: true
  9. name:
  10. type: string(255)
  11. attributes:
  12. export: all
  13. validate: true
  14.  
  15. ProviderFoodtype:
  16. connection: doctrine
  17. tableName: provider_foodtype
  18. columns:
  19. provider_id:
  20. type: integer(4)
  21. primary: true
  22. foodtype_id:
  23. type: integer(4)
  24. primary: true
  25. relations:
  26. Foodtype:
  27. foreignAlias: ProviderFoodtype
  28. Provider:
  29. foreignAlias: ProviderFoodtype
  30.  
  31. DeliveryRegion:
  32. connection: doctrine
  33. tableName: DeliveryRegion
  34. columns:
  35. id:
  36. type: integer(4)
  37. primary: true
  38. autoincrement: true
  39. name:
  40. type: string(255)
  41. attributes:
  42. export: all
  43. validate: true
  44.  
  45. ProviderDeliveryRegion:
  46. connection: doctrine
  47. tableName: provider_deliveryregion
  48. columns:
  49. provider_id:
  50. type: integer(4)
  51. primary: true
  52. deliveryregion_id:
  53. type: integer(4)
  54. primary: true
  55. relations:
  56. DeliveryRegion:
  57. foreignAlias: ProviderDeliveryRegion
  58. Provider:
  59. foreignAlias: ProviderDeliveryRegion
  60.  
  61. Provider:
  62. connection: doctrine
  63. tableName: Provider
  64. columns:
  65. id:
  66. type: integer(4)
  67. primary: true
  68. autoincrement: true
  69. name:
  70. type: string()
  71. notnull: true
  72. eng_name:
  73. type: string()
  74. notnull: true
  75. title:
  76. type: string()
  77. notnull: true
  78. description:
  79. type: string()
  80. notnull: true
  81. image:
  82. type: string()
  83. notnull: true
  84. delivery_time:
  85. type: string()
  86. notnull: true
  87. delivery_working_time:
  88. type: string()
  89. notnull: true
  90. delivery_minimal:
  91. type: string()
  92. notnull: true
  93. email:
  94. type: string()
  95. notnull: true
  96. password:
  97. type: string()
  98. notnull: true
  99. is_administrator:
  100. type: boolean
  101. notnull: false
  102. relations:
  103. FoodType:
  104. foreignAlias: Provider
  105. class: Foodtype
  106. refClass: ProviderFoodtype
  107. DeliveryRegion:
  108. foreignAlias: Provider
  109. class: DeliveryRegion
  110. refClass: ProviderDeliveryRegion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement