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

/**
 * BaseCO_PRORROGA_CONTRATO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_prorroga_contrato
 * @property string $adjunto
 * @property integer $id_contrato
 * @property integer $id_solicitud_prorroga
 * @property integer $no_prorroga
 * @property timestamp $fecha_aprobacion_poliza
 * @property timestamp $fecha_prorroga
 * @property string $objeto_prorroga
 * @property string $plazo_total
 * @property string $plazo_terminacion
 * @property string $observaciones
 * 
 * @method integer              getIdProrrogaContrato()      Returns the current record's "id_prorroga_contrato" value
 * @method string               getAdjunto()                 Returns the current record's "adjunto" value
 * @method integer              getIdContrato()              Returns the current record's "id_contrato" value
 * @method integer              getIdSolicitudProrroga()     Returns the current record's "id_solicitud_prorroga" value
 * @method integer              getNoProrroga()              Returns the current record's "no_prorroga" value
 * @method timestamp            getFechaAprobacionPoliza()   Returns the current record's "fecha_aprobacion_poliza" value
 * @method timestamp            getFechaProrroga()           Returns the current record's "fecha_prorroga" value
 * @method string               getObjetoProrroga()          Returns the current record's "objeto_prorroga" value
 * @method string               getPlazoTotal()              Returns the current record's "plazo_total" value
 * @method string               getPlazoTerminacion()        Returns the current record's "plazo_terminacion" value
 * @method string               getObservaciones()           Returns the current record's "observaciones" value
 * @method CO_PRORROGA_CONTRATO setIdProrrogaContrato()      Sets the current record's "id_prorroga_contrato" value
 * @method CO_PRORROGA_CONTRATO setAdjunto()                 Sets the current record's "adjunto" value
 * @method CO_PRORROGA_CONTRATO setIdContrato()              Sets the current record's "id_contrato" value
 * @method CO_PRORROGA_CONTRATO setIdSolicitudProrroga()     Sets the current record's "id_solicitud_prorroga" value
 * @method CO_PRORROGA_CONTRATO setNoProrroga()              Sets the current record's "no_prorroga" value
 * @method CO_PRORROGA_CONTRATO setFechaAprobacionPoliza()   Sets the current record's "fecha_aprobacion_poliza" value
 * @method CO_PRORROGA_CONTRATO setFechaProrroga()           Sets the current record's "fecha_prorroga" value
 * @method CO_PRORROGA_CONTRATO setObjetoProrroga()          Sets the current record's "objeto_prorroga" value
 * @method CO_PRORROGA_CONTRATO setPlazoTotal()              Sets the current record's "plazo_total" value
 * @method CO_PRORROGA_CONTRATO setPlazoTerminacion()        Sets the current record's "plazo_terminacion" value
 * @method CO_PRORROGA_CONTRATO setObservaciones()           Sets the current record's "observaciones" 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_PRORROGA_CONTRATO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_PRORROGA_CONTRATO');
        $this->hasColumn('id_prorroga_contrato', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('adjunto', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_solicitud_prorroga', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_prorroga', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_aprobacion_poliza', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_prorroga', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('objeto_prorroga', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('plazo_total', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('plazo_terminacion', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('observaciones', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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