Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Company / CompanyFixContract.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Company/CompanyFixContract.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Company/CompanyFixContract.php
new file mode 100644 (file)
index 0000000..9186fc3
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+namespace Doctrine\Tests\Models\Company;
+
+/**
+ * @Entity
+ */
+class CompanyFixContract extends CompanyContract
+{
+    /**
+     * @column(type="integer")
+     * @var int
+     */
+    private $fixPrice = 0;
+
+    public function calculatePrice()
+    {
+        return $this->fixPrice;
+    }
+
+    public function getFixPrice()
+    {
+        return $this->fixPrice;
+    }
+
+    public function setFixPrice($fixPrice)
+    {
+        $this->fixPrice = $fixPrice;
+    }
+}
\ No newline at end of file