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

/**
 * BaseNO_FONDO_CONCEPTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_fondo_concepto
 * @property integer $id_mae_fondos
 * @property integer $id_descuento_ss
 * @property integer $id_concep_nomina
 * @property NO_CONCEP_NOMINA $NO_CONCEP_NOMINA
 * @property NO_DESCUENTO_SS $NO_DESCUENTO_SS
 * @property NO_MAE_FONDOS $NO_MAE_FONDOS
 * 
 * @method integer           getIdFondoConcepto()   Returns the current record's "id_fondo_concepto" value
 * @method integer           getIdMaeFondos()       Returns the current record's "id_mae_fondos" value
 * @method integer           getIdDescuentoSs()     Returns the current record's "id_descuento_ss" value
 * @method integer           getIdConcepNomina()    Returns the current record's "id_concep_nomina" value
 * @method NO_CONCEP_NOMINA  getNOCONCEPNOMINA()    Returns the current record's "NO_CONCEP_NOMINA" value
 * @method NO_DESCUENTO_SS   getNODESCUENTOSS()     Returns the current record's "NO_DESCUENTO_SS" value
 * @method NO_MAE_FONDOS     getNOMAEFONDOS()       Returns the current record's "NO_MAE_FONDOS" value
 * @method NO_FONDO_CONCEPTO setIdFondoConcepto()   Sets the current record's "id_fondo_concepto" value
 * @method NO_FONDO_CONCEPTO setIdMaeFondos()       Sets the current record's "id_mae_fondos" value
 * @method NO_FONDO_CONCEPTO setIdDescuentoSs()     Sets the current record's "id_descuento_ss" value
 * @method NO_FONDO_CONCEPTO setIdConcepNomina()    Sets the current record's "id_concep_nomina" value
 * @method NO_FONDO_CONCEPTO setNOCONCEPNOMINA()    Sets the current record's "NO_CONCEP_NOMINA" value
 * @method NO_FONDO_CONCEPTO setNODESCUENTOSS()     Sets the current record's "NO_DESCUENTO_SS" value
 * @method NO_FONDO_CONCEPTO setNOMAEFONDOS()       Sets the current record's "NO_MAE_FONDOS" 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_FONDO_CONCEPTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_FONDO_CONCEPTO');
        $this->hasColumn('id_fondo_concepto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_fondos', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_descuento_ss', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('NO_CONCEP_NOMINA', array(
             'local' => 'id_concep_nomina',
             'foreign' => 'id_concep_nomina'));

        $this->hasOne('NO_DESCUENTO_SS', array(
             'local' => 'id_descuento_ss',
             'foreign' => 'id_descuento_ss'));

        $this->hasOne('NO_MAE_FONDOS', array(
             'local' => 'id_mae_fondos',
             'foreign' => 'id_mae_fondos'));
    }
}