55 lines
1.6 KiB
PHP
55 lines
1.6 KiB
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* BaseCommandesTarifsWs
|
||
|
*
|
||
|
* This class has been auto-generated by the Doctrine ORM Framework
|
||
|
*
|
||
|
* @property integer $id
|
||
|
* @property string $type
|
||
|
* @property float $prix
|
||
|
* @property integer $annee
|
||
|
*
|
||
|
* @package ##PACKAGE##
|
||
|
* @subpackage ##SUBPACKAGE##
|
||
|
* @author ##NAME## <##EMAIL##>
|
||
|
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
|
||
|
*/
|
||
|
abstract class BaseCommandesTarifsWs extends Doctrine_Record
|
||
|
{
|
||
|
public function setTableDefinition()
|
||
|
{
|
||
|
$this->setTableName('commandes_tarifs_ws');
|
||
|
$this->hasColumn('id', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'unsigned' => 0,
|
||
|
'primary' => true,
|
||
|
'autoincrement' => true,
|
||
|
));
|
||
|
$this->hasColumn('type', 'string', 2, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 2,
|
||
|
'fixed' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('prix', 'float', null, array(
|
||
|
'type' => 'float',
|
||
|
'unsigned' => 0,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('annee', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'unsigned' => 0,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
}
|
||
|
|
||
|
}
|