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

67 lines
2.0 KiB
PHP

<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CommandesStatut', 'sdv1');
/**
* BaseCommandesStatut
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property string $libStatut
* @property string $typeCommande
* @property integer $ordre
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
abstract class BaseCommandesStatut extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('commandes_statut');
$this->hasColumn('id', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => true,
'autoincrement' => true,
));
$this->hasColumn('libStatut', 'string', 200, array(
'type' => 'string',
'length' => 200,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('typeCommande', 'string', 1, array(
'type' => 'string',
'length' => 1,
'fixed' => true,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
$this->hasColumn('ordre', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
public function setUp()
{
parent::setUp();
}
}