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

/**
 * BaseNO_CONCEP_KA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_concep_ka
 * @property integer $id_tip_nov_ka
 * @property integer $orden
 * @property integer $id_concep_nomina
 * @property NO_CONCEP_NOMINA $NO_CONCEP_NOMINA
 * @property NO_TIP_NOV_KA $NO_TIP_NOV_KA
 * 
 * @method integer          getIdConcepKa()       Returns the current record's "id_concep_ka" value
 * @method integer          getIdTipNovKa()       Returns the current record's "id_tip_nov_ka" value
 * @method integer          getOrden()            Returns the current record's "orden" 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_TIP_NOV_KA    getNOTIPNOVKA()       Returns the current record's "NO_TIP_NOV_KA" value
 * @method NO_CONCEP_KA     setIdConcepKa()       Sets the current record's "id_concep_ka" value
 * @method NO_CONCEP_KA     setIdTipNovKa()       Sets the current record's "id_tip_nov_ka" value
 * @method NO_CONCEP_KA     setOrden()            Sets the current record's "orden" value
 * @method NO_CONCEP_KA     setIdConcepNomina()   Sets the current record's "id_concep_nomina" value
 * @method NO_CONCEP_KA     setNOCONCEPNOMINA()   Sets the current record's "NO_CONCEP_NOMINA" value
 * @method NO_CONCEP_KA     setNOTIPNOVKA()       Sets the current record's "NO_TIP_NOV_KA" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_CONCEP_KA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CONCEP_KA');
        $this->hasColumn('id_concep_ka', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tip_nov_ka', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('orden', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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

        $this->hasOne('NO_TIP_NOV_KA', array(
             'local' => 'id_tip_nov_ka',
             'foreign' => 'id_tip_nov_ka'));
    }
}