140 lines
4.4 KiB
PHP
140 lines
4.4 KiB
PHP
<?php
|
|
|
|
/**
|
|
* BaseConv
|
|
*
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
*
|
|
* @property integer $idAnnCC
|
|
* @property integer $annee
|
|
* @property integer $idCC
|
|
* @property integer $numCC
|
|
* @property date $Date_Parution
|
|
* @property string $ministere
|
|
* @property string $urlAnn
|
|
* @property string $numBrochure
|
|
* @property string $listeCC
|
|
* @property string $nomCC
|
|
* @property string $infoCC
|
|
* @property string $annonce
|
|
* @property timestamp $dateInsert
|
|
*
|
|
* @package ##PACKAGE##
|
|
* @subpackage ##SUBPACKAGE##
|
|
* @author ##NAME## <##EMAIL##>
|
|
* @version SVN: $Id: Builder.php 6401 2009-09-24 16:12:04Z guilhermeblanco $
|
|
*/
|
|
abstract class BaseConv extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('conv');
|
|
$this->hasColumn('idAnnCC', 'integer', 8, array(
|
|
'type' => 'integer',
|
|
'length' => 8,
|
|
'unsigned' => 0,
|
|
'primary' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('annee', 'integer', 2, array(
|
|
'type' => 'integer',
|
|
'length' => 2,
|
|
'unsigned' => 1,
|
|
'primary' => false,
|
|
'default' => '0',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('idCC', 'integer', 8, array(
|
|
'type' => 'integer',
|
|
'length' => 8,
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'default' => '0',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('numCC', 'integer', 8, array(
|
|
'type' => 'integer',
|
|
'length' => 8,
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'default' => '0',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('Date_Parution', 'date', null, array(
|
|
'type' => 'date',
|
|
'primary' => false,
|
|
'default' => '0000-00-00',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('ministere', 'string', 3, array(
|
|
'type' => 'string',
|
|
'length' => 3,
|
|
'fixed' => true,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('urlAnn', 'string', 80, array(
|
|
'type' => 'string',
|
|
'length' => 80,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('numBrochure', 'string', 30, array(
|
|
'type' => 'string',
|
|
'length' => 30,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('listeCC', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('nomCC', 'string', 255, array(
|
|
'type' => 'string',
|
|
'length' => 255,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('infoCC', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('annonce', 'string', null, array(
|
|
'type' => 'string',
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('dateInsert', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
} |