1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/tests/Doctrine/Tests/Models/Generic/DecimalModel.php

20 lines
337 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Models\Generic;
/**
* @Entity
* @Table(name="decimal_model")
*/
class DecimalModel
{
/**
* @Id @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(name="`decimal`", type="decimal", scale=2, precision=5)
*/
public $decimal;
}