Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Generic / DecimalModel.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Generic/DecimalModel.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Generic/DecimalModel.php
new file mode 100644 (file)
index 0000000..6a3654b
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+namespace Doctrine\Tests\Models\Generic;
+
+/**
+ * @Entity
+ * @Table(name="decimal_model")
+ */
+class DecimalModel
+{
+    /**
+     * @Id @Column(type="integer")
+     * @GeneratedValue(strategy="AUTO")
+     */
+    public $id;
+    /**
+     * @Column(name="`decimal`", type="decimal", scale=2, precision=5)
+     */
+    public $decimal;
+
+    /**
+     * @Column(name="`high_scale`", type="decimal", scale=4, precision=14)
+     */
+    public $highScale;
+}
\ No newline at end of file