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

/**
 * BaseCO_ESTUDIOS_PREVIOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_estudios_previos
 * @property integer $no_proceso
 * @property integer $responsable
 * @property integer $id_abogado
 * @property timestamp $fecha_creacion
 * @property integer $id_modalidad_sel
 * @property integer $estado
 * @property integer $activo
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_cen_op
 * @property integer $id_anhos
 * @property integer $version
 * @property integer $id_area
 * @property integer $valor
 * @property integer $id_supervisor
 * @property integer $id_coordina_contra
 * @property integer $id_soporte
 * @property timestamp $fecha_cierre
 * @property string $descripcion
 * @property integer $id_legaliza
 * @property integer $id_mesa_ayuda
 * 
 * @method integer             getIdEstudiosPrevios()   Returns the current record's "id_estudios_previos" value
 * @method integer             getNoProceso()           Returns the current record's "no_proceso" value
 * @method integer             getResponsable()         Returns the current record's "responsable" value
 * @method integer             getIdAbogado()           Returns the current record's "id_abogado" value
 * @method timestamp           getFechaCreacion()       Returns the current record's "fecha_creacion" value
 * @method integer             getIdModalidadSel()      Returns the current record's "id_modalidad_sel" value
 * @method integer             getEstado()              Returns the current record's "estado" value
 * @method integer             getActivo()              Returns the current record's "activo" value
 * @method timestamp           getFechaAnu()            Returns the current record's "fecha_anu" value
 * @method string              getMotivoAnu()           Returns the current record's "motivo_anu" value
 * @method integer             getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer             getIdAnhos()             Returns the current record's "id_anhos" value
 * @method integer             getVersion()             Returns the current record's "version" value
 * @method integer             getIdArea()              Returns the current record's "id_area" value
 * @method integer             getValor()               Returns the current record's "valor" value
 * @method integer             getIdSupervisor()        Returns the current record's "id_supervisor" value
 * @method integer             getIdCoordinaContra()    Returns the current record's "id_coordina_contra" value
 * @method integer             getIdSoporte()           Returns the current record's "id_soporte" value
 * @method timestamp           getFechaCierre()         Returns the current record's "fecha_cierre" value
 * @method string              getDescripcion()         Returns the current record's "descripcion" value
 * @method integer             getIdLegaliza()          Returns the current record's "id_legaliza" value
 * @method integer             getIdMesaAyuda()         Returns the current record's "id_mesa_ayuda" value
 * @method CO_ESTUDIOS_PREVIOS setIdEstudiosPrevios()   Sets the current record's "id_estudios_previos" value
 * @method CO_ESTUDIOS_PREVIOS setNoProceso()           Sets the current record's "no_proceso" value
 * @method CO_ESTUDIOS_PREVIOS setResponsable()         Sets the current record's "responsable" value
 * @method CO_ESTUDIOS_PREVIOS setIdAbogado()           Sets the current record's "id_abogado" value
 * @method CO_ESTUDIOS_PREVIOS setFechaCreacion()       Sets the current record's "fecha_creacion" value
 * @method CO_ESTUDIOS_PREVIOS setIdModalidadSel()      Sets the current record's "id_modalidad_sel" value
 * @method CO_ESTUDIOS_PREVIOS setEstado()              Sets the current record's "estado" value
 * @method CO_ESTUDIOS_PREVIOS setActivo()              Sets the current record's "activo" value
 * @method CO_ESTUDIOS_PREVIOS setFechaAnu()            Sets the current record's "fecha_anu" value
 * @method CO_ESTUDIOS_PREVIOS setMotivoAnu()           Sets the current record's "motivo_anu" value
 * @method CO_ESTUDIOS_PREVIOS setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method CO_ESTUDIOS_PREVIOS setIdAnhos()             Sets the current record's "id_anhos" value
 * @method CO_ESTUDIOS_PREVIOS setVersion()             Sets the current record's "version" value
 * @method CO_ESTUDIOS_PREVIOS setIdArea()              Sets the current record's "id_area" value
 * @method CO_ESTUDIOS_PREVIOS setValor()               Sets the current record's "valor" value
 * @method CO_ESTUDIOS_PREVIOS setIdSupervisor()        Sets the current record's "id_supervisor" value
 * @method CO_ESTUDIOS_PREVIOS setIdCoordinaContra()    Sets the current record's "id_coordina_contra" value
 * @method CO_ESTUDIOS_PREVIOS setIdSoporte()           Sets the current record's "id_soporte" value
 * @method CO_ESTUDIOS_PREVIOS setFechaCierre()         Sets the current record's "fecha_cierre" value
 * @method CO_ESTUDIOS_PREVIOS setDescripcion()         Sets the current record's "descripcion" value
 * @method CO_ESTUDIOS_PREVIOS setIdLegaliza()          Sets the current record's "id_legaliza" value
 * @method CO_ESTUDIOS_PREVIOS setIdMesaAyuda()         Sets the current record's "id_mesa_ayuda" 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_ESTUDIOS_PREVIOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_ESTUDIOS_PREVIOS');
        $this->hasColumn('id_estudios_previos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('no_proceso', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('responsable', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_abogado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_creacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_modalidad_sel', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('activo', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_cen_op', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_anhos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('version', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_area', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_supervisor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_coordina_contra', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '41218',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_soporte', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '946',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('descripcion', 'string', 522, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 522,
             ));
        $this->hasColumn('id_legaliza', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '34081',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mesa_ayuda', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '2909
                ',
             'primary' => false,
             'length' => 20,
             ));
    }

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