extranet/includes/dbmodels/sdv1/generated/BasePartenaires.php
2010-04-21 10:23:49 +00:00

57 lines
1.6 KiB
PHP

<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('Partenaires', 'sdv1');
/**
* 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 7490 2010-03-29 19:53:27Z jwage $
*/
abstract class BasePartenaires extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('partenaires');
$this->hasColumn('nom', 'string', 50, array(
'type' => 'string',
'length' => 50,
'fixed' => false,
'unsigned' => false,
'primary' => true,
'autoincrement' => false,
));
$this->hasColumn('actif', 'integer', 1, array(
'type' => 'integer',
'length' => 1,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('actifsd', 'integer', 1, array(
'type' => 'integer',
'length' => 1,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
public function setUp()
{
parent::setUp();
}
}