66 lines
1.9 KiB
PHP
66 lines
1.9 KiB
PHP
<?php
|
|
// Connection Component Binding
|
|
Doctrine_Manager::getInstance()->bindComponent('CommandesTarifsWs', 'sdv1');
|
|
|
|
/**
|
|
* 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 7490 2010-03-29 19:53:27Z jwage $
|
|
*/
|
|
abstract class BaseCommandesTarifsWs extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('commandes_tarifs_ws');
|
|
$this->hasColumn('id', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => true,
|
|
'autoincrement' => true,
|
|
));
|
|
$this->hasColumn('type', 'string', 2, array(
|
|
'type' => 'string',
|
|
'length' => 2,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('prix', 'float', null, array(
|
|
'type' => 'float',
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('annee', 'integer', 4, array(
|
|
'type' => 'integer',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'unsigned' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
|
|
}
|
|
} |