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

/**
 * BaseGD_GESTION_DOC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_gestion
 * @property integer $id_documento
 * @property integer $id_proceso
 * @property integer $estado
 * @property string $usuario
 * @property timestamp $fecha_recibido
 * @property timestamp $fecha_entregado
 * @property string $asignado
 * @property string $no_generado
 * @property integer $num_lote
 * @property timestamp $fecha_asignado
 * 
 * @method integer        getIdGestion()       Returns the current record's "id_gestion" value
 * @method integer        getIdDocumento()     Returns the current record's "id_documento" value
 * @method integer        getIdProceso()       Returns the current record's "id_proceso" value
 * @method integer        getEstado()          Returns the current record's "estado" value
 * @method string         getUsuario()         Returns the current record's "usuario" value
 * @method timestamp      getFechaRecibido()   Returns the current record's "fecha_recibido" value
 * @method timestamp      getFechaEntregado()  Returns the current record's "fecha_entregado" value
 * @method string         getAsignado()        Returns the current record's "asignado" value
 * @method string         getNoGenerado()      Returns the current record's "no_generado" value
 * @method integer        getNumLote()         Returns the current record's "num_lote" value
 * @method timestamp      getFechaAsignado()   Returns the current record's "fecha_asignado" value
 * @method GD_GESTION_DOC setIdGestion()       Sets the current record's "id_gestion" value
 * @method GD_GESTION_DOC setIdDocumento()     Sets the current record's "id_documento" value
 * @method GD_GESTION_DOC setIdProceso()       Sets the current record's "id_proceso" value
 * @method GD_GESTION_DOC setEstado()          Sets the current record's "estado" value
 * @method GD_GESTION_DOC setUsuario()         Sets the current record's "usuario" value
 * @method GD_GESTION_DOC setFechaRecibido()   Sets the current record's "fecha_recibido" value
 * @method GD_GESTION_DOC setFechaEntregado()  Sets the current record's "fecha_entregado" value
 * @method GD_GESTION_DOC setAsignado()        Sets the current record's "asignado" value
 * @method GD_GESTION_DOC setNoGenerado()      Sets the current record's "no_generado" value
 * @method GD_GESTION_DOC setNumLote()         Sets the current record's "num_lote" value
 * @method GD_GESTION_DOC setFechaAsignado()   Sets the current record's "fecha_asignado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseGD_GESTION_DOC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('GD_GESTION_DOC');
        $this->hasColumn('id_gestion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_documento', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_proceso', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_recibido', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_entregado', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('asignado', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_generado', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_lote', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_asignado', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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