197 lines
6.4 KiB
PHP
197 lines
6.4 KiB
PHP
|
<?php
|
||
|
// Connection Component Binding
|
||
|
Doctrine_Manager::getInstance()->bindComponent('CommandesKbis', 'sdv1');
|
||
|
|
||
|
/**
|
||
|
* BaseCommandesKbis
|
||
|
*
|
||
|
* This class has been auto-generated by the Doctrine ORM Framework
|
||
|
*
|
||
|
* @property integer $id
|
||
|
* @property integer $idUser
|
||
|
* @property string $login
|
||
|
* @property string $email
|
||
|
* @property string $societe
|
||
|
* @property string $nom
|
||
|
* @property string $adresse
|
||
|
* @property string $cp
|
||
|
* @property string $ville
|
||
|
* @property integer $siren
|
||
|
* @property string $raisonSociale
|
||
|
* @property string $type
|
||
|
* @property string $document
|
||
|
* @property integer $statutCommande
|
||
|
* @property string $info
|
||
|
* @property timestamp $dateCommande
|
||
|
* @property timestamp $dateReception
|
||
|
*
|
||
|
* @package ##PACKAGE##
|
||
|
* @subpackage ##SUBPACKAGE##
|
||
|
* @author ##NAME## <##EMAIL##>
|
||
|
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
|
||
|
*/
|
||
|
abstract class BaseCommandesKbis extends Doctrine_Record
|
||
|
{
|
||
|
public function setTableDefinition()
|
||
|
{
|
||
|
$this->setTableName('commandes_kbis');
|
||
|
$this->hasColumn('id', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => true,
|
||
|
'autoincrement' => true,
|
||
|
));
|
||
|
$this->hasColumn('idUser', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('login', 'string', 50, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 50,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('email', 'string', 82, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 82,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('societe', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('nom', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('adresse', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('cp', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('ville', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('siren', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('raisonSociale', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('type', 'string', 1, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 1,
|
||
|
'fixed' => true,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('document', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => false,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('statutCommande', 'integer', 4, array(
|
||
|
'type' => 'integer',
|
||
|
'length' => 4,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('info', 'string', 200, array(
|
||
|
'type' => 'string',
|
||
|
'length' => 200,
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'notnull' => false,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('dateCommande', 'timestamp', null, array(
|
||
|
'type' => 'timestamp',
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'default' => '0000-00-00 00:00:00',
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
$this->hasColumn('dateReception', 'timestamp', null, array(
|
||
|
'type' => 'timestamp',
|
||
|
'fixed' => false,
|
||
|
'unsigned' => false,
|
||
|
'primary' => false,
|
||
|
'default' => '0000-00-00 00:00:00',
|
||
|
'notnull' => true,
|
||
|
'autoincrement' => false,
|
||
|
));
|
||
|
}
|
||
|
|
||
|
public function setUp()
|
||
|
{
|
||
|
parent::setUp();
|
||
|
|
||
|
}
|
||
|
}
|