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

/**
 * BaseCO_FIRMA_EP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_firma_ep
 * @property string $descripcion
 * @property string $cargo
 * @property string $nombre
 * @property integer $id_estudios_previos
 * @property CO_ESTUDIOS_PREVIOS $CO_ESTUDIOS_PREVIOS
 * 
 * @method integer             getIdFirmaEp()           Returns the current record's "id_firma_ep" value
 * @method string              getDescripcion()         Returns the current record's "descripcion" value
 * @method string              getCargo()               Returns the current record's "cargo" value
 * @method string              getNombre()              Returns the current record's "nombre" value
 * @method integer             getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method CO_ESTUDIOS_PREVIOS getCOESTUDIOSPREVIOS()   Returns the current record's "CO_ESTUDIOS_PREVIOS" value
 * @method CO_FIRMA_EP         setIdFirmaEp()           Sets the current record's "id_firma_ep" value
 * @method CO_FIRMA_EP         setDescripcion()         Sets the current record's "descripcion" value
 * @method CO_FIRMA_EP         setCargo()               Sets the current record's "cargo" value
 * @method CO_FIRMA_EP         setNombre()              Sets the current record's "nombre" value
 * @method CO_FIRMA_EP         setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_FIRMA_EP         setCOESTUDIOSPREVIOS()   Sets the current record's "CO_ESTUDIOS_PREVIOS" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_FIRMA_EP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_FIRMA_EP');
        $this->hasColumn('id_firma_ep', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('cargo', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_estudios_previos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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