Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / ORM / Mapping / php / Doctrine.Tests.Models.DDC964.DDC964Guest.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964Guest.php b/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/php/Doctrine.Tests.Models.DDC964.DDC964Guest.php
new file mode 100644 (file)
index 0000000..5094ecd
--- /dev/null
@@ -0,0 +1,13 @@
+<?php
+$metadata->setAttributeOverride('id', array(
+    'columnName'    => 'guest_id',
+    'type'          => 'integer',
+    'length'        => 140,
+));
+
+$metadata->setAttributeOverride('name',array(
+    'columnName'    => 'guest_name',
+    'nullable'      => false,
+    'unique'        => true,
+    'length'        => 240,
+));
\ No newline at end of file