2009-05-12 13:40:22 +00:00

31 lines
1.2 KiB
PHP

<?php
/**
* BaseCountry
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property integer $id
* @property string $code
* @property string $intersud_country
* @property string $lib
* @property enum $status
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
*/
abstract class BaseCountry extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('country');
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
$this->hasColumn('code', 'string', 2, array('type' => 'string', 'length' => 2, 'fixed' => true, 'notnull' => true));
$this->hasColumn('intersud_country', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
$this->hasColumn('lib', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
$this->hasColumn('status', 'enum', 7, array('type' => 'enum', 'length' => 7, 'values' => array(0 => 'actif', 1 => 'inactif'), 'notnull' => true));
}
}