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

/**
 * BaseCONT_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 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 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 CONT_AFILIA_FONDO setIdAfiliaFondo()   Sets the current record's "id_afilia_fondo" value
 * @method CONT_AFILIA_FONDO setIdTipoDoc()       Sets the current record's "id_tipo_doc" value
 * @method CONT_AFILIA_FONDO setNumDoc()          Sets the current record's "num_doc" value
 * @method CONT_AFILIA_FONDO setIdClaseFondo()    Sets the current record's "id_clase_fondo" value
 * @method CONT_AFILIA_FONDO setIdMaeFondos()     Sets the current record's "id_mae_fondos" value
 * @method CONT_AFILIA_FONDO setNumAfiliacion()   Sets the current record's "num_afiliacion" value
 * @method CONT_AFILIA_FONDO setNumeroDoc()       Sets the current record's "numero_doc" value
 * @method CONT_AFILIA_FONDO setFechaDoc()        Sets the current record's "fecha_doc" value
 * @method CONT_AFILIA_FONDO setFechaIngreso()    Sets the current record's "fecha_ingreso" value
 * @method CONT_AFILIA_FONDO setFechaRetiro()     Sets the current record's "fecha_retiro" value
 * @method CONT_AFILIA_FONDO setIdTipoAporte()    Sets the current record's "id_tipo_aporte" value
 * @method CONT_AFILIA_FONDO setRiesgo()          Sets the current record's "riesgo" value
 * @method CONT_AFILIA_FONDO setEstado()          Sets the current record's "estado" value
 * @method CONT_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 BaseCONT_AFILIA_FONDO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONT_AFILIA_FONDO');
        $this->hasColumn('id_afilia_fondo', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => true,
             '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('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' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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