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

/**
 * BaseCA_GESTION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_gestion
 * @property integer $id_reparto
 * @property integer $tipo_soporte
 * @property timestamp $fecha_soporte
 * @property string $num_soporte
 * @property string $observaciones
 * @property integer $estado
 * @property timestamp $fecha_proceso
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer    getIdGestion()     Returns the current record's "id_gestion" value
 * @method integer    getIdReparto()     Returns the current record's "id_reparto" value
 * @method integer    getTipoSoporte()   Returns the current record's "tipo_soporte" value
 * @method timestamp  getFechaSoporte()  Returns the current record's "fecha_soporte" value
 * @method string     getNumSoporte()    Returns the current record's "num_soporte" value
 * @method string     getObservaciones() Returns the current record's "observaciones" value
 * @method integer    getEstado()        Returns the current record's "estado" value
 * @method timestamp  getFechaProceso()  Returns the current record's "fecha_proceso" value
 * @method string     getUsuariolog()    Returns the current record's "usuariolog" value
 * @method timestamp  getFechalog()      Returns the current record's "fechalog" value
 * @method CA_GESTION setIdGestion()     Sets the current record's "id_gestion" value
 * @method CA_GESTION setIdReparto()     Sets the current record's "id_reparto" value
 * @method CA_GESTION setTipoSoporte()   Sets the current record's "tipo_soporte" value
 * @method CA_GESTION setFechaSoporte()  Sets the current record's "fecha_soporte" value
 * @method CA_GESTION setNumSoporte()    Sets the current record's "num_soporte" value
 * @method CA_GESTION setObservaciones() Sets the current record's "observaciones" value
 * @method CA_GESTION setEstado()        Sets the current record's "estado" value
 * @method CA_GESTION setFechaProceso()  Sets the current record's "fecha_proceso" value
 * @method CA_GESTION setUsuariolog()    Sets the current record's "usuariolog" value
 * @method CA_GESTION setFechalog()      Sets the current record's "fechalog" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_GESTION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_GESTION');
        $this->hasColumn('id_gestion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_reparto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_soporte', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_soporte', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('num_soporte', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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