2009-09-05 00:31:11 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Doctrine\Tests\Models\Generic;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @Entity
|
2009-09-05 06:44:45 +04:00
|
|
|
* @Table(name="decimal_model")
|
2009-09-05 00:31:11 +04:00
|
|
|
*/
|
|
|
|
class DecimalModel
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @Id @Column(type="integer")
|
|
|
|
* @GeneratedValue(strategy="AUTO")
|
|
|
|
*/
|
|
|
|
public $id;
|
|
|
|
/**
|
2009-11-01 14:09:27 +03:00
|
|
|
* @Column(name="`decimal`", type="decimal", scale=2, precision=5)
|
2009-09-05 00:31:11 +04:00
|
|
|
*/
|
|
|
|
public $decimal;
|
|
|
|
}
|