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

/**
 * BaseCO_SOLICITUD_SUSPENSION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_solicitud_suspension
 * @property integer $id_contrato
 * @property integer $no_solicitud
 * @property integer $no_suspension
 * @property timestamp $fecha_solicitud
 * @property clob $justificacion
 * @property timestamp $fecha_terminacion
 * @property integer $dias_suspension
 * @property integer $meses_suspension
 * @property integer $anhos_suspension
 * @property integer $estado
 * 
 * @method integer                 getIdSolicitudSuspension()   Returns the current record's "id_solicitud_suspension" 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                 getNoSuspension()            Returns the current record's "no_suspension" value
 * @method timestamp               getFechaSolicitud()          Returns the current record's "fecha_solicitud" value
 * @method clob                    getJustificacion()           Returns the current record's "justificacion" value
 * @method timestamp               getFechaTerminacion()        Returns the current record's "fecha_terminacion" value
 * @method integer                 getDiasSuspension()          Returns the current record's "dias_suspension" value
 * @method integer                 getMesesSuspension()         Returns the current record's "meses_suspension" value
 * @method integer                 getAnhosSuspension()         Returns the current record's "anhos_suspension" value
 * @method integer                 getEstado()                  Returns the current record's "estado" value
 * @method CO_SOLICITUD_SUSPENSION setIdSolicitudSuspension()   Sets the current record's "id_solicitud_suspension" value
 * @method CO_SOLICITUD_SUSPENSION setIdContrato()              Sets the current record's "id_contrato" value
 * @method CO_SOLICITUD_SUSPENSION setNoSolicitud()             Sets the current record's "no_solicitud" value
 * @method CO_SOLICITUD_SUSPENSION setNoSuspension()            Sets the current record's "no_suspension" value
 * @method CO_SOLICITUD_SUSPENSION setFechaSolicitud()          Sets the current record's "fecha_solicitud" value
 * @method CO_SOLICITUD_SUSPENSION setJustificacion()           Sets the current record's "justificacion" value
 * @method CO_SOLICITUD_SUSPENSION setFechaTerminacion()        Sets the current record's "fecha_terminacion" value
 * @method CO_SOLICITUD_SUSPENSION setDiasSuspension()          Sets the current record's "dias_suspension" value
 * @method CO_SOLICITUD_SUSPENSION setMesesSuspension()         Sets the current record's "meses_suspension" value
 * @method CO_SOLICITUD_SUSPENSION setAnhosSuspension()         Sets the current record's "anhos_suspension" value
 * @method CO_SOLICITUD_SUSPENSION setEstado()                  Sets the current record's "estado" 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_SOLICITUD_SUSPENSION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_SOLICITUD_SUSPENSION');
        $this->hasColumn('id_solicitud_suspension', '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_suspension', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_solicitud', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('justificacion', 'clob', 4000, array(
             'notnull' => true,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('fecha_terminacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('dias_suspension', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('meses_suspension', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('anhos_suspension', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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