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

/**
 * BaseCO_ORDENADOR_GASTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_ordenador_gasto
 * @property string $cargo
 * @property integer $documento
 * @property string $nombre
 * 
 * @method integer            getIdOrdenadorGasto()   Returns the current record's "id_ordenador_gasto" value
 * @method string             getCargo()              Returns the current record's "cargo" value
 * @method integer            getDocumento()          Returns the current record's "documento" value
 * @method string             getNombre()             Returns the current record's "nombre" value
 * @method CO_ORDENADOR_GASTO setIdOrdenadorGasto()   Sets the current record's "id_ordenador_gasto" value
 * @method CO_ORDENADOR_GASTO setCargo()              Sets the current record's "cargo" value
 * @method CO_ORDENADOR_GASTO setDocumento()          Sets the current record's "documento" value
 * @method CO_ORDENADOR_GASTO setNombre()             Sets the current record's "nombre" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_ORDENADOR_GASTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_ORDENADOR_GASTO');
        $this->hasColumn('id_ordenador_gasto', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('cargo', 'string', 150, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('documento', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('norma_nombramiento', 'string', 4000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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