51 lines
2.8 KiB
PHP
51 lines
2.8 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 5441 2009-01-30 22:58:43Z jwage $
|
|
*/
|
|
abstract class BaseGeolocalisation extends Doctrine_Record
|
|
{
|
|
public function setTableDefinition()
|
|
{
|
|
$this->setTableName('geolocalisation');
|
|
$this->hasColumn('address', 'string', 80, array('type' => 'string', 'length' => 80, 'primary' => true));
|
|
$this->hasColumn('lon', 'float', null, array('type' => 'float'));
|
|
$this->hasColumn('lat', 'float', null, array('type' => 'float'));
|
|
$this->hasColumn('precis', 'integer', 2, array('type' => 'integer', 'length' => 2, 'default' => '0', 'notnull' => true));
|
|
$this->hasColumn('adr_num', 'integer', 3, array('type' => 'integer', 'length' => 3, 'unsigned' => 1, 'default' => '0000', 'notnull' => true));
|
|
$this->hasColumn('adr_indRep', 'string', 1, array('type' => 'string', 'length' => 1, 'fixed' => true, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_typeVoie', 'string', 4, array('type' => 'string', 'length' => 4, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_libVoie', 'string', 40, array('type' => 'string', 'length' => 40, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_adrComp0', 'string', 40, array('type' => 'string', 'length' => 40, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_adrComp1', 'string', 40, array('type' => 'string', 'length' => 40, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_adrComp2', 'string', 40, array('type' => 'string', 'length' => 40, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_adrComp3', 'string', 40, array('type' => 'string', 'length' => 40, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_cp', 'string', 5, array('type' => 'string', 'length' => 5, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('adr_ville', 'string', 40, array('type' => 'string', 'length' => 40, 'default' => '', 'notnull' => true));
|
|
$this->hasColumn('dateInsert', 'timestamp', null, array('type' => 'timestamp', 'notnull' => true));
|
|
}
|
|
|
|
} |