<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('DEPARTAMENTOS', 'doctrine');

/**
 * BaseDEPARTAMENTOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $coddepto
 * @property string $desdepto
 * @property integer $id_pais
 * 
 * @method string        getCoddepto() Returns the current record's "coddepto" value
 * @method string        getDesdepto() Returns the current record's "desdepto" value
 * @method integer       getIdPais()   Returns the current record's "id_pais" value
 * @method DEPARTAMENTOS setCoddepto() Sets the current record's "coddepto" value
 * @method DEPARTAMENTOS setDesdepto() Sets the current record's "desdepto" value
 * @method DEPARTAMENTOS setIdPais()   Sets the current record's "id_pais" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseDEPARTAMENTOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('DEPARTAMENTOS');
        $this->hasColumn('coddepto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('desdepto', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('id_pais', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => 'NULL
                ',
             'primary' => false,
             'length' => 20,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}