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

/**
 * BaseCO_APERTURA_EP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_apertura_ep
 * @property integer $id_estudios_previos
 * @property integer $usuario
 * @property timestamp $fecha_apertura
 * @property string $motivo_aper
 * 
 * @method integer        getIdAperturaEp()        Returns the current record's "id_apertura_ep" value
 * @method integer        getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method integer        getUsuario()             Returns the current record's "usuario" value
 * @method timestamp      getFechaApertura()       Returns the current record's "fecha_apertura" value
 * @method string         getMotivoAper()          Returns the current record's "motivo_aper" value
 * @method CO_APERTURA_EP setIdAperturaEp()        Sets the current record's "id_apertura_ep" value
 * @method CO_APERTURA_EP setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_APERTURA_EP setUsuario()             Sets the current record's "usuario" value
 * @method CO_APERTURA_EP setFechaApertura()       Sets the current record's "fecha_apertura" value
 * @method CO_APERTURA_EP setMotivoAper()          Sets the current record's "motivo_aper" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_APERTURA_EP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_APERTURA_EP');
        $this->hasColumn('id_apertura_ep', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_estudios_previos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuario', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_apertura', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_aper', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}