63 lines
1.9 KiB
PHP
63 lines
1.9 KiB
PHP
<?php
|
|
|
|
/**
|
|
* BaseSirenTva
|
|
*
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
*
|
|
* @property integer $cle
|
|
* @property integer $siren
|
|
* @property integer $nonTeste
|
|
* @property float $duree
|
|
* @property timestamp $dateMod
|
|
*
|
|
* @package ##PACKAGE##
|
|
* @subpackage ##SUBPACKAGE##
|
|
* @author ##NAME## <##EMAIL##>
|
|
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
|
|
*/
|
|
abstract class BaseSirenTva extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('siren_tva');
|
|
$this->hasColumn('cle', 'integer', 2, array(
|
|
'type' => 'integer',
|
|
'length' => 2,
|
|
'unsigned' => 1,
|
|
'primary' => false,
|
|
'notnull' => false,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('siren', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'unsigned' => 1,
|
|
'primary' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('nonTeste', 'integer', 1, array(
|
|
'type' => 'integer',
|
|
'length' => 1,
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'default' => '0',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('duree', 'float', null, array(
|
|
'type' => 'float',
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'notnull' => false,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('dateMod', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
} |