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

/**
 * BaseCO_CATEGORIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_categoria
 * @property string $descripcion
 * @property integer $sueldo
 * @property integer $id_anhos
 * 
 * @method integer      getIdCategoria()  Returns the current record's "id_categoria" value
 * @method string       getDescripcion()  Returns the current record's "descripcion" value
 * @method integer      getSueldo()       Returns the current record's "sueldo" value
 * @method integer      getIdAnhos()      Returns the current record's "id_anhos" value
 * @method CO_CATEGORIA setIdCategoria()  Sets the current record's "id_categoria" value
 * @method CO_CATEGORIA setDescripcion()  Sets the current record's "descripcion" value
 * @method CO_CATEGORIA setSueldo()       Sets the current record's "sueldo" value
 * @method CO_CATEGORIA setIdAnhos()      Sets the current record's "id_anhos" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_CATEGORIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_CATEGORIA');
        $this->hasColumn('id_categoria', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 150, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('sueldo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_anhos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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