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

/**
 * BaseTS_FI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_fi
 * @property string $nombre_fi
 * @property string $afectacion
 * @property string $referencia
 * 
 * @method integer getIdFi()       Returns the current record's "id_fi" value
 * @method string  getNombreFi()   Returns the current record's "nombre_fi" value
 * @method string  getAfectacion() Returns the current record's "afectacion" value
 * @method string  getReferencia() Returns the current record's "referencia" value
 * @method TS_FI   setIdFi()       Sets the current record's "id_fi" value
 * @method TS_FI   setNombreFi()   Sets the current record's "nombre_fi" value
 * @method TS_FI   setAfectacion() Sets the current record's "afectacion" value
 * @method TS_FI   setReferencia() Sets the current record's "referencia" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_FI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_FI');
        $this->hasColumn('id_fi', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre_fi', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('afectacion', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('referencia', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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