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

/**
 * BaseNO_AFILIA_FONDO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_afilia_fondo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_clase_fondo
 * @property integer $id_mae_fondos
 * @property string $num_afiliacion
 * @property string $numero_doc
 * @property timestamp $fecha_doc
 * @property timestamp $fecha_ingreso
 * @property timestamp $fecha_retiro
 * @property integer $id_tipo_aporte
 * @property string $centro_trabajo
 * @property integer $riesgo
 * @property integer $estado
 * @property integer $id_periodo
 * 
 * @method integer         getIdAfiliaFondo()   Returns the current record's "id_afilia_fondo" 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         getIdClaseFondo()    Returns the current record's "id_clase_fondo" value
 * @method integer         getIdMaeFondos()     Returns the current record's "id_mae_fondos" value
 * @method string          getNumAfiliacion()   Returns the current record's "num_afiliacion" value
 * @method string          getNumeroDoc()       Returns the current record's "numero_doc" value
 * @method timestamp       getFechaDoc()        Returns the current record's "fecha_doc" value
 * @method timestamp       getFechaIngreso()    Returns the current record's "fecha_ingreso" value
 * @method timestamp       getFechaRetiro()     Returns the current record's "fecha_retiro" value
 * @method integer         getIdTipoAporte()    Returns the current record's "id_tipo_aporte" value
 * @method string          getCentroTrabajo()   Returns the current record's "centro_trabajo" value
 * @method integer         getRiesgo()          Returns the current record's "riesgo" value
 * @method integer         getEstado()          Returns the current record's "estado" value
 * @method integer         getIdPeriodo()       Returns the current record's "id_periodo" value
 * @method NO_AFILIA_FONDO setIdAfiliaFondo()   Sets the current record's "id_afilia_fondo" value
 * @method NO_AFILIA_FONDO setIdTipoDoc()       Sets the current record's "id_tipo_doc" value
 * @method NO_AFILIA_FONDO setNumDoc()          Sets the current record's "num_doc" value
 * @method NO_AFILIA_FONDO setIdClaseFondo()    Sets the current record's "id_clase_fondo" value
 * @method NO_AFILIA_FONDO setIdMaeFondos()     Sets the current record's "id_mae_fondos" value
 * @method NO_AFILIA_FONDO setNumAfiliacion()   Sets the current record's "num_afiliacion" value
 * @method NO_AFILIA_FONDO setNumeroDoc()       Sets the current record's "numero_doc" value
 * @method NO_AFILIA_FONDO setFechaDoc()        Sets the current record's "fecha_doc" value
 * @method NO_AFILIA_FONDO setFechaIngreso()    Sets the current record's "fecha_ingreso" value
 * @method NO_AFILIA_FONDO setFechaRetiro()     Sets the current record's "fecha_retiro" value
 * @method NO_AFILIA_FONDO setIdTipoAporte()    Sets the current record's "id_tipo_aporte" value
 * @method NO_AFILIA_FONDO setCentroTrabajo()   Sets the current record's "centro_trabajo" value
 * @method NO_AFILIA_FONDO setRiesgo()          Sets the current record's "riesgo" value
 * @method NO_AFILIA_FONDO setEstado()          Sets the current record's "estado" value
 * @method NO_AFILIA_FONDO setIdPeriodo()       Sets the current record's "id_periodo" 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_AFILIA_FONDO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_AFILIA_FONDO');
        $this->hasColumn('id_afilia_fondo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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('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('num_afiliacion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_ingreso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_retiro', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_tipo_aporte', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('centro_trabajo', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('riesgo', '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' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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