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

/**
 * BaseNO_FORMULA_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_formula
 * @property integer $id_concep_nomina
 * @property string $formula
 * @property string $nombre
 * @property string $cod_tipo
 * 
 * @method integer         getId()               Returns the current record's "id" value
 * @method integer         getIdFormula()        Returns the current record's "id_formula" value
 * @method integer         getIdConcepNomina()   Returns the current record's "id_concep_nomina" value
 * @method string          getFormula()          Returns the current record's "formula" value
 * @method string          getNombre()           Returns the current record's "nombre" value
 * @method string          getCodTipo()          Returns the current record's "cod_tipo" value
 * @method NO_FORMULA_SAFI setId()               Sets the current record's "id" value
 * @method NO_FORMULA_SAFI setIdFormula()        Sets the current record's "id_formula" value
 * @method NO_FORMULA_SAFI setIdConcepNomina()   Sets the current record's "id_concep_nomina" value
 * @method NO_FORMULA_SAFI setFormula()          Sets the current record's "formula" value
 * @method NO_FORMULA_SAFI setNombre()           Sets the current record's "nombre" value
 * @method NO_FORMULA_SAFI setCodTipo()          Sets the current record's "cod_tipo" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_FORMULA_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_FORMULA_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_formula', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('formula', 'string', 2048, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2048,
             ));
        $this->hasColumn('nombre', 'string', 64, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 64,
             ));
        $this->hasColumn('cod_tipo', 'string', 1, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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