Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Quote / SimpleEntity.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Quote/SimpleEntity.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Quote/SimpleEntity.php
new file mode 100644 (file)
index 0000000..3eda35a
--- /dev/null
@@ -0,0 +1,32 @@
+<?php
+
+namespace Doctrine\Tests\Models\Quote;
+
+/**
+ * @Entity
+ * @Table(name="`ddc-1719-simple-entity`")
+ */
+class SimpleEntity
+{
+
+    /**
+     * @Id
+     * @Column(type="integer", name="`simple-entity-id`")
+     * @GeneratedValue(strategy="AUTO")
+     */
+    public $id;
+
+    /**
+     * @Column(type="string", name="`simple-entity-value`")
+     */
+    public $value;
+
+    /**
+     * @param string $value
+     */
+    public function __construct($value)
+    {
+        $this->value = $value;
+    }
+
+}
\ No newline at end of file