Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Generic / SerializationModel.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Generic/SerializationModel.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Generic/SerializationModel.php
new file mode 100644 (file)
index 0000000..4f07d42
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+namespace Doctrine\Tests\Models\Generic;
+
+/**
+ * @Entity
+ * @Table(name="serialize_model")
+ */
+class SerializationModel
+{
+    /**
+     * @Id @Column(type="integer")
+     * @GeneratedValue(strategy="AUTO")
+     */
+    public $id;
+    /**
+     * @Column(name="the_array", type="array", nullable=true)
+     */
+    public $array;
+
+    /**
+     * @Column(name="the_obj", type="object", nullable=true)
+     */
+    public $object;
+}
\ No newline at end of file