56 lines
1.6 KiB
PHP
56 lines
1.6 KiB
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* 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 6401 2009-09-24 16:12:04Z guilhermeblanco $
|
||
|
*/
|
||
|
abstract class BaseCommandesStatut extends Doctrine_Record
|
||
|
{
|
||
|
public function setTableDefinition()
|
||
|
{
|
||
|
$this->setTableName('commandes_statut');
|
||
|
$this->hasColumn('id', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'unsigned' => 0,
|
||
|
'primary' => true,
|
||
|
'autoincrement' => true,
|
||
|
));
|
||
|
$this->hasColumn('libStatut', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('typeCommande', 'string', 1, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 1,
|
||
|
'fixed' => true,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('ordre', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'unsigned' => 0,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
}
|
||
|
|
||
|
}
|