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

/**
 * BaseCO_ADICION_CONTRATO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_adicion_contrato
 * @property integer $id_solicitud_adicion
 * @property integer $id_contrato
 * @property string $adjunto
 * @property integer $no_adicion
 * @property timestamp $fecha_adicion
 * @property integer $id_rp
 * @property timestamp $fecha_aprobacion_poliza
 * @property integer $id_cdp
 * @property string $observaciones
 * 
 * @method integer             getIdAdicionContrato()       Returns the current record's "id_adicion_contrato" value
 * @method integer             getIdSolicitudAdicion()      Returns the current record's "id_solicitud_adicion" value
 * @method integer             getIdContrato()              Returns the current record's "id_contrato" value
 * @method string              getAdjunto()                 Returns the current record's "adjunto" value
 * @method integer             getNoAdicion()               Returns the current record's "no_adicion" value
 * @method timestamp           getFechaAdicion()            Returns the current record's "fecha_adicion" value
 * @method integer             getIdRp()                    Returns the current record's "id_rp" value
 * @method timestamp           getFechaAprobacionPoliza()   Returns the current record's "fecha_aprobacion_poliza" value
 * @method integer             getIdCdp()                   Returns the current record's "id_cdp" value
 * @method string              getObservaciones()           Returns the current record's "observaciones" value
 * @method CO_ADICION_CONTRATO setIdAdicionContrato()       Sets the current record's "id_adicion_contrato" value
 * @method CO_ADICION_CONTRATO setIdSolicitudAdicion()      Sets the current record's "id_solicitud_adicion" value
 * @method CO_ADICION_CONTRATO setIdContrato()              Sets the current record's "id_contrato" value
 * @method CO_ADICION_CONTRATO setAdjunto()                 Sets the current record's "adjunto" value
 * @method CO_ADICION_CONTRATO setNoAdicion()               Sets the current record's "no_adicion" value
 * @method CO_ADICION_CONTRATO setFechaAdicion()            Sets the current record's "fecha_adicion" value
 * @method CO_ADICION_CONTRATO setIdRp()                    Sets the current record's "id_rp" value
 * @method CO_ADICION_CONTRATO setFechaAprobacionPoliza()   Sets the current record's "fecha_aprobacion_poliza" value
 * @method CO_ADICION_CONTRATO setIdCdp()                   Sets the current record's "id_cdp" value
 * @method CO_ADICION_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_ADICION_CONTRATO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_ADICION_CONTRATO');
        $this->hasColumn('id_adicion_contrato', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_solicitud_adicion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('adjunto', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('no_adicion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_adicion', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_rp', '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('id_cdp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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