2010-02-10 17:27:03 +00:00
|
|
|
<?php
|
2010-04-21 10:23:49 +00:00
|
|
|
// Connection Component Binding
|
|
|
|
Doctrine_Manager::getInstance()->bindComponent('CommandesTarifs', 'sdv1');
|
2010-02-10 17:27:03 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* BaseCommandesTarifs
|
|
|
|
*
|
|
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
|
|
*
|
|
|
|
* @property integer $id
|
|
|
|
* @property string $type
|
|
|
|
* @property string $codeTribunal
|
|
|
|
* @property float $prix
|
|
|
|
* @property integer $enveloppe
|
|
|
|
* @property string $ordre
|
|
|
|
* @property integer $annee
|
|
|
|
*
|
|
|
|
* @package ##PACKAGE##
|
|
|
|
* @subpackage ##SUBPACKAGE##
|
|
|
|
* @author ##NAME## <##EMAIL##>
|
2010-04-21 10:23:49 +00:00
|
|
|
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
|
2010-02-10 17:27:03 +00:00
|
|
|
*/
|
|
|
|
abstract class BaseCommandesTarifs extends Doctrine_Record
|
|
|
|
{
|
|
|
|
public function setTableDefinition()
|
|
|
|
{
|
|
|
|
$this->setTableName('commandes_tarifs');
|
|
|
|
$this->hasColumn('id', 'integer', 4, array(
|
|
|
|
'type' => 'integer',
|
|
|
|
'length' => 4,
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => true,
|
|
|
|
'autoincrement' => true,
|
|
|
|
));
|
|
|
|
$this->hasColumn('type', 'string', 20, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 20,
|
|
|
|
'fixed' => false,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('codeTribunal', 'string', 255, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 255,
|
|
|
|
'fixed' => false,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('prix', 'float', null, array(
|
|
|
|
'type' => 'float',
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('enveloppe', 'integer', 1, array(
|
|
|
|
'type' => 'integer',
|
|
|
|
'length' => 1,
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('ordre', 'string', 255, array(
|
|
|
|
'type' => 'string',
|
|
|
|
'length' => 255,
|
|
|
|
'fixed' => false,
|
2010-04-21 10:23:49 +00:00
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
$this->hasColumn('annee', 'integer', 4, array(
|
|
|
|
'type' => 'integer',
|
|
|
|
'length' => 4,
|
2010-04-21 10:23:49 +00:00
|
|
|
'fixed' => false,
|
|
|
|
'unsigned' => false,
|
2010-02-10 17:27:03 +00:00
|
|
|
'primary' => false,
|
|
|
|
'notnull' => true,
|
|
|
|
'autoincrement' => false,
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
2010-04-21 10:23:49 +00:00
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
|
|
|
|
}
|
2010-02-10 17:27:03 +00:00
|
|
|
}
|