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

/**
 * BaseCA_RESPONSABLE_GESTION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_responsable_gestion
 * @property integer $id_etapa_procesal
 * @property integer $id_mae_ter
 * @property CA_ETAPA_PROCESAL $CA_ETAPA_PROCESAL
 * 
 * @method integer                getIdResponsableGestion()   Returns the current record's "id_responsable_gestion" value
 * @method integer                getIdEtapaProcesal()        Returns the current record's "id_etapa_procesal" value
 * @method integer                getIdMaeTer()               Returns the current record's "id_mae_ter" value
 * @method CA_ETAPA_PROCESAL      getCAETAPAPROCESAL()        Returns the current record's "CA_ETAPA_PROCESAL" value
 * @method CA_RESPONSABLE_GESTION setIdResponsableGestion()   Sets the current record's "id_responsable_gestion" value
 * @method CA_RESPONSABLE_GESTION setIdEtapaProcesal()        Sets the current record's "id_etapa_procesal" value
 * @method CA_RESPONSABLE_GESTION setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method CA_RESPONSABLE_GESTION setCAETAPAPROCESAL()        Sets the current record's "CA_ETAPA_PROCESAL" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_RESPONSABLE_GESTION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_RESPONSABLE_GESTION');
        $this->hasColumn('id_responsable_gestion', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_etapa_procesal', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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