1
0
mirror of synced 2025-01-31 12:32:59 +03:00

[2.0] Other fixes, removed E_FATAL of duplicate declaration and added test for Boolean type

This commit is contained in:
guilhermeblanco 2009-09-05 02:45:12 +00:00
parent 3ef0bf50e9
commit 51a0a912be

View File

@ -0,0 +1,20 @@
<?php
namespace Doctrine\Tests\Models\Generic;
/**
* @Entity
* @Table(name="boolean_model")
*/
class DecimalModel
{
/**
* @Id @Column(type="integer")
* @GeneratedValue(strategy="AUTO")
*/
public $id;
/**
* @Column(type="boolean", default=true)
*/
public $boolean;
}