Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / ECommerce / ECommerceShipping.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/ECommerce/ECommerceShipping.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/ECommerce/ECommerceShipping.php
new file mode 100644 (file)
index 0000000..a0f302c
--- /dev/null
@@ -0,0 +1,40 @@
+<?php
+
+namespace Doctrine\Tests\Models\ECommerce;
+
+/**
+ * ECommerceShipping
+ * Represents a shipping method.
+ *
+ * @author Giorgio Sironi
+ * @Entity
+ * @Table(name="ecommerce_shippings")
+ */
+class ECommerceShipping
+{
+    /**
+     * @Id @Column(type="integer")
+     * @GeneratedValue
+     */
+    private $id;
+
+    /**
+     * @Column(type="integer")
+     */
+    private $days;
+
+    public function getId()
+    {
+        return $this->id;
+    }
+
+    public function getDays()
+    {
+        return $this->days;
+    }
+
+    public function setDays($days)
+    {
+        $this->days = $days;
+    }
+}