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

/**
 * BaseCO_SOLICITUD_CESION_ECO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_solicitud_cesion_eco
 * @property integer $id_contrato
 * @property integer $no_solicitud
 * @property integer $no_cesion_eco
 * @property integer $valor
 * @property integer $num_doc_cesionario
 * @property string $nombre_cesionario
 * @property clob $justificacion
 * @property timestamp $fecha_solicitud
 * 
 * @method integer                 getIdSolicitudCesionEco()    Returns the current record's "id_solicitud_cesion_eco" value
 * @method integer                 getIdContrato()              Returns the current record's "id_contrato" value
 * @method integer                 getNoSolicitud()             Returns the current record's "no_solicitud" value
 * @method integer                 getNoCesionEco()             Returns the current record's "no_cesion_eco" value
 * @method integer                 getValor()                   Returns the current record's "valor" value
 * @method integer                 getNumDocCesionario()        Returns the current record's "num_doc_cesionario" value
 * @method string                  getNombreCesionario()        Returns the current record's "nombre_cesionario" value
 * @method clob                    getJustificacion()           Returns the current record's "justificacion" value
 * @method timestamp               getFechaSolicitud()          Returns the current record's "fecha_solicitud" value
 * @method CO_SOLICITUD_CESION_ECO setIdSolicitudCesionEco()    Sets the current record's "id_solicitud_cesion_eco" value
 * @method CO_SOLICITUD_CESION_ECO setIdContrato()              Sets the current record's "id_contrato" value
 * @method CO_SOLICITUD_CESION_ECO setNoSolicitud()             Sets the current record's "no_solicitud" value
 * @method CO_SOLICITUD_CESION_ECO setNoCesionEco()             Sets the current record's "no_cesion_eco" value
 * @method CO_SOLICITUD_CESION_ECO setValor()                   Sets the current record's "valor" value
 * @method CO_SOLICITUD_CESION_ECO setNumDocCesionario()        Sets the current record's "num_doc_cesionario" value
 * @method CO_SOLICITUD_CESION_ECO setNombreCesionario()        Sets the current record's "nombre_cesionario" value
 * @method CO_SOLICITUD_CESION_ECO setJustificacion()           Sets the current record's "justificacion" value
 * @method CO_SOLICITUD_CESION_ECO setFechaSolicitud()          Sets the current record's "fecha_solicitud" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_SOLICITUD_CESION_ECO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_SOLICITUD_CESION_ECO');
        $this->hasColumn('id_solicitud_cesion_eco', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_solicitud', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_cesion_eco', 'integer', 20, array(
             'notnull' => true,
             '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('num_doc_cesionario', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre_cesionario', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('justificacion', 'clob', 4000, array(
             'notnull' => true,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('fecha_solicitud', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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