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

/**
 * BaseRH_SA_AFI_SS2
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_afi_ss2
 * @property integer $id_afi_ss
 * @property integer $id_ss_fon
 * @property timestamp $fecha_i
 * @property timestamp $fecha_f
 * @property string $adjunto
 * @property string $num_afi
 * @property integer $estado
 * 
 * @method integer       getId()         Returns the current record's "id" value
 * @method integer       getIdAfiSs2()   Returns the current record's "id_afi_ss2" value
 * @method integer       getIdAfiSs()    Returns the current record's "id_afi_ss" value
 * @method integer       getIdSsFon()    Returns the current record's "id_ss_fon" value
 * @method timestamp     getFechaI()     Returns the current record's "fecha_i" value
 * @method timestamp     getFechaF()     Returns the current record's "fecha_f" value
 * @method string        getAdjunto()    Returns the current record's "adjunto" value
 * @method string        getNumAfi()     Returns the current record's "num_afi" value
 * @method integer       getEstado()     Returns the current record's "estado" value
 * @method RH_SA_AFI_SS2 setId()         Sets the current record's "id" value
 * @method RH_SA_AFI_SS2 setIdAfiSs2()   Sets the current record's "id_afi_ss2" value
 * @method RH_SA_AFI_SS2 setIdAfiSs()    Sets the current record's "id_afi_ss" value
 * @method RH_SA_AFI_SS2 setIdSsFon()    Sets the current record's "id_ss_fon" value
 * @method RH_SA_AFI_SS2 setFechaI()     Sets the current record's "fecha_i" value
 * @method RH_SA_AFI_SS2 setFechaF()     Sets the current record's "fecha_f" value
 * @method RH_SA_AFI_SS2 setAdjunto()    Sets the current record's "adjunto" value
 * @method RH_SA_AFI_SS2 setNumAfi()     Sets the current record's "num_afi" value
 * @method RH_SA_AFI_SS2 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 BaseRH_SA_AFI_SS2 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SA_AFI_SS2');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_afi_ss2', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_afi_ss', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_ss_fon', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_i', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_f', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('adjunto', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('num_afi', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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