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

/**
 * BaseNO_UPC_ADICIONAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_upc_adicional
 * @property integer $id_clase_fondo
 * @property integer $id_mae_fondos
 * @property integer $id_concep_nomina
 * @property integer $id_periodo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $valor_upc
 * @property string $num_doc_bene
 * @property string $primer_apellido_bene
 * @property string $segundo_apellido_bene
 * @property string $primer_nombre_bene
 * @property string $segundo_nombre_bene
 * @property string $parentezco
 * @property integer $edad
 * @property integer $estado
 * 
 * @method integer          getIdUpcAdicional()        Returns the current record's "id_upc_adicional" value
 * @method integer          getIdClaseFondo()          Returns the current record's "id_clase_fondo" value
 * @method integer          getIdMaeFondos()           Returns the current record's "id_mae_fondos" value
 * @method integer          getIdConcepNomina()        Returns the current record's "id_concep_nomina" value
 * @method integer          getIdPeriodo()             Returns the current record's "id_periodo" value
 * @method integer          getIdTipoDoc()             Returns the current record's "id_tipo_doc" value
 * @method string           getNumDoc()                Returns the current record's "num_doc" value
 * @method integer          getValorUpc()              Returns the current record's "valor_upc" value
 * @method string           getNumDocBene()            Returns the current record's "num_doc_bene" value
 * @method string           getPrimerApellidoBene()    Returns the current record's "primer_apellido_bene" value
 * @method string           getSegundoApellidoBene()   Returns the current record's "segundo_apellido_bene" value
 * @method string           getPrimerNombreBene()      Returns the current record's "primer_nombre_bene" value
 * @method string           getSegundoNombreBene()     Returns the current record's "segundo_nombre_bene" value
 * @method string           getParentezco()            Returns the current record's "parentezco" value
 * @method integer          getEdad()                  Returns the current record's "edad" value
 * @method integer          getEstado()                Returns the current record's "estado" value
 * @method NO_UPC_ADICIONAL setIdUpcAdicional()        Sets the current record's "id_upc_adicional" value
 * @method NO_UPC_ADICIONAL setIdClaseFondo()          Sets the current record's "id_clase_fondo" value
 * @method NO_UPC_ADICIONAL setIdMaeFondos()           Sets the current record's "id_mae_fondos" value
 * @method NO_UPC_ADICIONAL setIdConcepNomina()        Sets the current record's "id_concep_nomina" value
 * @method NO_UPC_ADICIONAL setIdPeriodo()             Sets the current record's "id_periodo" value
 * @method NO_UPC_ADICIONAL setIdTipoDoc()             Sets the current record's "id_tipo_doc" value
 * @method NO_UPC_ADICIONAL setNumDoc()                Sets the current record's "num_doc" value
 * @method NO_UPC_ADICIONAL setValorUpc()              Sets the current record's "valor_upc" value
 * @method NO_UPC_ADICIONAL setNumDocBene()            Sets the current record's "num_doc_bene" value
 * @method NO_UPC_ADICIONAL setPrimerApellidoBene()    Sets the current record's "primer_apellido_bene" value
 * @method NO_UPC_ADICIONAL setSegundoApellidoBene()   Sets the current record's "segundo_apellido_bene" value
 * @method NO_UPC_ADICIONAL setPrimerNombreBene()      Sets the current record's "primer_nombre_bene" value
 * @method NO_UPC_ADICIONAL setSegundoNombreBene()     Sets the current record's "segundo_nombre_bene" value
 * @method NO_UPC_ADICIONAL setParentezco()            Sets the current record's "parentezco" value
 * @method NO_UPC_ADICIONAL setEdad()                  Sets the current record's "edad" value
 * @method NO_UPC_ADICIONAL setEstado()                Sets the current record's "estado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_UPC_ADICIONAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_UPC_ADICIONAL');
        $this->hasColumn('id_upc_adicional', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_clase_fondo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_fondos', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_upc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc_bene', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('primer_apellido_bene', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('segundo_apellido_bene', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('primer_nombre_bene', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('segundo_nombre_bene', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('parentezco', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('edad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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