Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Generic / DateTimeModel.php
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Generic/DateTimeModel.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Generic/DateTimeModel.php
new file mode 100644 (file)
index 0000000..3298a88
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+namespace Doctrine\Tests\Models\Generic;
+
+/**
+ * @Entity
+ * @Table(name="date_time_model")
+ */
+class DateTimeModel
+{
+    /**
+     * @Id @Column(type="integer")
+     * @GeneratedValue
+     */
+    public $id;
+    /**
+     * @Column(name="col_datetime", type="datetime", nullable=true)
+     */
+    public $datetime;
+    /**
+     * @Column(name="col_date", type="date", nullable=true)
+     */
+    public $date;
+    /**
+     * @Column(name="col_time", type="time", nullable=true)
+     */
+    public $time;
+}
\ No newline at end of file