Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tools / sandbox / yaml / Entities.Address.dcm.yml
diff --git a/vendor/doctrine/orm/tools/sandbox/yaml/Entities.Address.dcm.yml b/vendor/doctrine/orm/tools/sandbox/yaml/Entities.Address.dcm.yml
new file mode 100644 (file)
index 0000000..140e902
--- /dev/null
@@ -0,0 +1,16 @@
+Entities\Address:
+  type: entity
+  table: addresses
+  id:
+    id:
+      type: integer
+      generator:
+        strategy: AUTO
+  fields:
+    street:
+      type: string
+      length: 255
+  oneToOne:
+    user:
+      targetEntity: User
+      mappedBy: address
\ No newline at end of file