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

/**
 * BaseVIATICOS_VIGENCIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_viaticos_vigencia
 * @property integer $id_obj_gasto
 * @property string $vigencia
 * @property integer $tipo
 * @property string $codigo
 * 
 * @method integer           getIdViaticosVigencia()   Returns the current record's "id_viaticos_vigencia" value
 * @method integer           getIdObjGasto()           Returns the current record's "id_obj_gasto" value
 * @method string            getVigencia()             Returns the current record's "vigencia" value
 * @method integer           getTipo()                 Returns the current record's "tipo" value
 * @method string            getCodigo()               Returns the current record's "codigo" value
 * @method VIATICOS_VIGENCIA setIdViaticosVigencia()   Sets the current record's "id_viaticos_vigencia" value
 * @method VIATICOS_VIGENCIA setIdObjGasto()           Sets the current record's "id_obj_gasto" value
 * @method VIATICOS_VIGENCIA setVigencia()             Sets the current record's "vigencia" value
 * @method VIATICOS_VIGENCIA setTipo()                 Sets the current record's "tipo" value
 * @method VIATICOS_VIGENCIA setCodigo()               Sets the current record's "codigo" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseVIATICOS_VIGENCIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('VIATICOS_VIGENCIA');
        $this->hasColumn('id_viaticos_vigencia', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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