Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Generic / DateTimeModel.php
1 <?php
2
3 namespace Doctrine\Tests\Models\Generic;
4
5 /**
6  * @Entity
7  * @Table(name="date_time_model")
8  */
9 class DateTimeModel
10 {
11     /**
12      * @Id @Column(type="integer")
13      * @GeneratedValue
14      */
15     public $id;
16     /**
17      * @Column(name="col_datetime", type="datetime", nullable=true)
18      */
19     public $datetime;
20     /**
21      * @Column(name="col_date", type="date", nullable=true)
22      */
23     public $date;
24     /**
25      * @Column(name="col_time", type="time", nullable=true)
26      */
27     public $time;
28 }