47 lines
1.3 KiB
PHP
47 lines
1.3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* BasePartenaires
|
|
*
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
*
|
|
* @property string $nom
|
|
* @property integer $actif
|
|
* @property integer $actifsd
|
|
*
|
|
* @package ##PACKAGE##
|
|
* @subpackage ##SUBPACKAGE##
|
|
* @author ##NAME## <##EMAIL##>
|
|
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
|
|
*/
|
|
abstract class BasePartenaires extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('partenaires');
|
|
$this->hasColumn('nom', 'string', 50, array(
|
|
'type' => 'string',
|
|
'length' => 50,
|
|
'fixed' => false,
|
|
'primary' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('actif', 'integer', 1, array(
|
|
'type' => 'integer',
|
|
'length' => 1,
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('actifsd', 'integer', 1, array(
|
|
'type' => 'integer',
|
|
'length' => 1,
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
} |