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

/**
 * BaseNO_COD_FONDO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cod_fon
 * @property integer $nitocc
 * @property string $codigo
 * @property string $tipo
 * @property integer $id_cen_op
 * 
 * @method integer      getIdCodFon()   Returns the current record's "id_cod_fon" value
 * @method integer      getNitocc()     Returns the current record's "nitocc" value
 * @method string       getCodigo()     Returns the current record's "codigo" value
 * @method string       getTipo()       Returns the current record's "tipo" value
 * @method integer      getIdCenOp()    Returns the current record's "id_cen_op" value
 * @method NO_COD_FONDO setIdCodFon()   Sets the current record's "id_cod_fon" value
 * @method NO_COD_FONDO setNitocc()     Sets the current record's "nitocc" value
 * @method NO_COD_FONDO setCodigo()     Sets the current record's "codigo" value
 * @method NO_COD_FONDO setTipo()       Sets the current record's "tipo" value
 * @method NO_COD_FONDO setIdCenOp()    Sets the current record's "id_cen_op" 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_COD_FONDO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_COD_FONDO');
        $this->hasColumn('id_cod_fon', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nitocc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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