Rajout de doctrine/orm
[zf2.biz/galerie.git] / vendor / doctrine / orm / tests / Doctrine / Tests / Models / Generic / DecimalModel.php
1 <?php
2
3 namespace Doctrine\Tests\Models\Generic;
4
5 /**
6  * @Entity
7  * @Table(name="decimal_model")
8  */
9 class DecimalModel
10 {
11     /**
12      * @Id @Column(type="integer")
13      * @GeneratedValue(strategy="AUTO")
14      */
15     public $id;
16     /**
17      * @Column(name="`decimal`", type="decimal", scale=2, precision=5)
18      */
19     public $decimal;
20
21     /**
22      * @Column(name="`high_scale`", type="decimal", scale=4, precision=14)
23      */
24     public $highScale;
25 }