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

/**
 * BaseCONS_ASIGNA_OBJ_GASTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_apropiacion
 * @property integer $id_obj_gasto
 * @property integer $valor_objeto
 * @property string $ano_fiscal
 * @property string $mes_fiscal
 * @property timestamp $fecha
 * @property string $usuario
 * @property integer $id_unidad
 * @property integer $id_cpo
 * @property integer $id_asign
 * @property integer $id_vigencia
 * 
 * @method integer               getId()             Returns the current record's "id" value
 * @method integer               getIdApropiacion()  Returns the current record's "id_apropiacion" value
 * @method integer               getIdObjGasto()     Returns the current record's "id_obj_gasto" value
 * @method integer               getValorObjeto()    Returns the current record's "valor_objeto" value
 * @method string                getAnoFiscal()      Returns the current record's "ano_fiscal" value
 * @method string                getMesFiscal()      Returns the current record's "mes_fiscal" value
 * @method timestamp             getFecha()          Returns the current record's "fecha" value
 * @method string                getUsuario()        Returns the current record's "usuario" value
 * @method integer               getIdUnidad()       Returns the current record's "id_unidad" value
 * @method integer               getIdCpo()          Returns the current record's "id_cpo" value
 * @method integer               getIdAsign()        Returns the current record's "id_asign" value
 * @method integer               getIdVigencia()     Returns the current record's "id_vigencia" value
 * @method CONS_ASIGNA_OBJ_GASTO setId()             Sets the current record's "id" value
 * @method CONS_ASIGNA_OBJ_GASTO setIdApropiacion()  Sets the current record's "id_apropiacion" value
 * @method CONS_ASIGNA_OBJ_GASTO setIdObjGasto()     Sets the current record's "id_obj_gasto" value
 * @method CONS_ASIGNA_OBJ_GASTO setValorObjeto()    Sets the current record's "valor_objeto" value
 * @method CONS_ASIGNA_OBJ_GASTO setAnoFiscal()      Sets the current record's "ano_fiscal" value
 * @method CONS_ASIGNA_OBJ_GASTO setMesFiscal()      Sets the current record's "mes_fiscal" value
 * @method CONS_ASIGNA_OBJ_GASTO setFecha()          Sets the current record's "fecha" value
 * @method CONS_ASIGNA_OBJ_GASTO setUsuario()        Sets the current record's "usuario" value
 * @method CONS_ASIGNA_OBJ_GASTO setIdUnidad()       Sets the current record's "id_unidad" value
 * @method CONS_ASIGNA_OBJ_GASTO setIdCpo()          Sets the current record's "id_cpo" value
 * @method CONS_ASIGNA_OBJ_GASTO setIdAsign()        Sets the current record's "id_asign" value
 * @method CONS_ASIGNA_OBJ_GASTO setIdVigencia()     Sets the current record's "id_vigencia" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCONS_ASIGNA_OBJ_GASTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONS_ASIGNA_OBJ_GASTO');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_apropiacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_objeto', 'integer', 38, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('ano_fiscal', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('mes_fiscal', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_unidad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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