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

/**
 * BaseRH_AP_NATURALEZA_EM
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_nat_emp
 * @property integer $codigo
 * @property string $nombre
 * @property string $codigo_tipo_vinc
 * 
 * @method integer             getIdNatEmp()         Returns the current record's "id_nat_emp" value
 * @method integer             getCodigo()           Returns the current record's "codigo" value
 * @method string              getNombre()           Returns the current record's "nombre" value
 * @method string              getCodigoTipoVinc()   Returns the current record's "codigo_tipo_vinc" value
 * @method RH_AP_NATURALEZA_EM setIdNatEmp()         Sets the current record's "id_nat_emp" value
 * @method RH_AP_NATURALEZA_EM setCodigo()           Sets the current record's "codigo" value
 * @method RH_AP_NATURALEZA_EM setNombre()           Sets the current record's "nombre" value
 * @method RH_AP_NATURALEZA_EM setCodigoTipoVinc()   Sets the current record's "codigo_tipo_vinc" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_AP_NATURALEZA_EM extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_AP_NATURALEZA_EM');
        $this->hasColumn('id_nat_emp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('codigo_tipo_vinc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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