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

/**
 * BaseNO_CONCEP_VAC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_concep_vac
 * @property integer $id_tipo_nov_vac
 * @property integer $orden
 * @property integer $id_concep_nomina
 * @property NO_CONCEP_NOMINA $NO_CONCEP_NOMINA
 * @property NO_TIPO_NOV_VAC $NO_TIPO_NOV_VAC
 * 
 * @method integer          getIdConcepVac()      Returns the current record's "id_concep_vac" value
 * @method integer          getIdTipoNovVac()     Returns the current record's "id_tipo_nov_vac" 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_TIPO_NOV_VAC  getNOTIPONOVVAC()     Returns the current record's "NO_TIPO_NOV_VAC" value
 * @method NO_CONCEP_VAC    setIdConcepVac()      Sets the current record's "id_concep_vac" value
 * @method NO_CONCEP_VAC    setIdTipoNovVac()     Sets the current record's "id_tipo_nov_vac" value
 * @method NO_CONCEP_VAC    setOrden()            Sets the current record's "orden" value
 * @method NO_CONCEP_VAC    setIdConcepNomina()   Sets the current record's "id_concep_nomina" value
 * @method NO_CONCEP_VAC    setNOCONCEPNOMINA()   Sets the current record's "NO_CONCEP_NOMINA" value
 * @method NO_CONCEP_VAC    setNOTIPONOVVAC()     Sets the current record's "NO_TIPO_NOV_VAC" 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_CONCEP_VAC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CONCEP_VAC');
        $this->hasColumn('id_concep_vac', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_nov_vac', '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' => true,
             '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_TIPO_NOV_VAC', array(
             'local' => 'id_tipo_nov_vac',
             'foreign' => 'id_tipo_nov_vac'));
    }
}