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

/**
 * BaseCA_VARIABLE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_variable
 * @property string $nombre
 * @property string $tabla
 * @property integer $id_campo
 * @property integer $id_entidad
 * @property integer $constante
 * @property string $valor
 * @property string $campo
 * 
 * @method integer     getIdVariable()  Returns the current record's "id_variable" value
 * @method string      getNombre()      Returns the current record's "nombre" value
 * @method string      getTabla()       Returns the current record's "tabla" value
 * @method integer     getIdCampo()     Returns the current record's "id_campo" value
 * @method integer     getIdEntidad()   Returns the current record's "id_entidad" value
 * @method integer     getConstante()   Returns the current record's "constante" value
 * @method string      getValor()       Returns the current record's "valor" value
 * @method string      getCampo()       Returns the current record's "campo" value
 * @method CA_VARIABLE setIdVariable()  Sets the current record's "id_variable" value
 * @method CA_VARIABLE setNombre()      Sets the current record's "nombre" value
 * @method CA_VARIABLE setTabla()       Sets the current record's "tabla" value
 * @method CA_VARIABLE setIdCampo()     Sets the current record's "id_campo" value
 * @method CA_VARIABLE setIdEntidad()   Sets the current record's "id_entidad" value
 * @method CA_VARIABLE setConstante()   Sets the current record's "constante" value
 * @method CA_VARIABLE setValor()       Sets the current record's "valor" value
 * @method CA_VARIABLE setCampo()       Sets the current record's "campo" value
 * 
 * @package    canon
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_VARIABLE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_VARIABLE');
        $this->hasColumn('id_variable', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 101, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 101,
             ));
        $this->hasColumn('tabla', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
    }

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