162 lines
5.2 KiB
PHP
162 lines
5.2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* BaseGeolocalisation
|
|
*
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
*
|
|
* @property string $address
|
|
* @property float $lon
|
|
* @property float $lat
|
|
* @property integer $precis
|
|
* @property integer $adr_num
|
|
* @property string $adr_indRep
|
|
* @property string $adr_typeVoie
|
|
* @property string $adr_libVoie
|
|
* @property string $adr_adrComp0
|
|
* @property string $adr_adrComp1
|
|
* @property string $adr_adrComp2
|
|
* @property string $adr_adrComp3
|
|
* @property string $adr_cp
|
|
* @property string $adr_ville
|
|
* @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 BaseGeolocalisation extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('geolocalisation');
|
|
$this->hasColumn('address', 'string', 80, array(
|
|
'type' => 'string',
|
|
'length' => 80,
|
|
'fixed' => false,
|
|
'primary' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('lon', 'float', null, array(
|
|
'type' => 'float',
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'notnull' => false,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('lat', 'float', null, array(
|
|
'type' => 'float',
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'notnull' => false,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('precis', 'integer', 2, array(
|
|
'type' => 'integer',
|
|
'length' => 2,
|
|
'unsigned' => 0,
|
|
'primary' => false,
|
|
'default' => '0',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_num', 'integer', 3, array(
|
|
'type' => 'integer',
|
|
'length' => 3,
|
|
'unsigned' => 1,
|
|
'primary' => false,
|
|
'default' => '0000',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_indRep', 'string', 1, array(
|
|
'type' => 'string',
|
|
'length' => 1,
|
|
'fixed' => true,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_typeVoie', 'string', 4, array(
|
|
'type' => 'string',
|
|
'length' => 4,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_libVoie', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_adrComp0', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_adrComp1', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_adrComp2', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_adrComp3', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_cp', 'string', 5, array(
|
|
'type' => 'string',
|
|
'length' => 5,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('adr_ville', 'string', 40, array(
|
|
'type' => 'string',
|
|
'length' => 40,
|
|
'fixed' => false,
|
|
'primary' => false,
|
|
'default' => '',
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
$this->hasColumn('dateInsert', 'timestamp', null, array(
|
|
'type' => 'timestamp',
|
|
'primary' => false,
|
|
'notnull' => true,
|
|
'autoincrement' => false,
|
|
));
|
|
}
|
|
|
|
} |