2009-05-06 07:53:28 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* BaseCountry
|
|
|
|
*
|
|
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
|
|
|
*
|
|
|
|
* @property integer $id
|
|
|
|
* @property string $code
|
2009-05-12 10:02:07 +00:00
|
|
|
* @property string $graydon_country
|
|
|
|
* @property string $lib
|
2009-05-06 07:53:28 +00:00
|
|
|
* @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));
|
2009-05-12 10:02:07 +00:00
|
|
|
$this->hasColumn('graydon_country', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
|
|
|
$this->hasColumn('lib', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
2009-05-06 07:53:28 +00:00
|
|
|
$this->hasColumn('status', 'enum', 7, array('type' => 'enum', 'length' => 7, 'values' => array(0 => 'actif', 1 => 'inactif'), 'notnull' => true));
|
|
|
|
}
|
2009-05-12 10:02:07 +00:00
|
|
|
|
2009-05-06 07:53:28 +00:00
|
|
|
}
|