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

/**
 * BaseCA_PARAMETRICA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_parametrica
 * @property string $nombre_tabla
 * @property string $campo_tabla
 * @property string $valor
 * @property integer $estado
 * @property string $alias
 * 
 * @method integer        getIdParametrica()  Returns the current record's "id_parametrica" value
 * @method string         getNombreTabla()    Returns the current record's "nombre_tabla" value
 * @method string         getCampoTabla()     Returns the current record's "campo_tabla" value
 * @method string         getValor()          Returns the current record's "valor" value
 * @method integer        getEstado()         Returns the current record's "estado" value
 * @method string         getAlias()          Returns the current record's "alias" value
 * @method CA_PARAMETRICA setIdParametrica()  Sets the current record's "id_parametrica" value
 * @method CA_PARAMETRICA setNombreTabla()    Sets the current record's "nombre_tabla" value
 * @method CA_PARAMETRICA setCampoTabla()     Sets the current record's "campo_tabla" value
 * @method CA_PARAMETRICA setValor()          Sets the current record's "valor" value
 * @method CA_PARAMETRICA setEstado()         Sets the current record's "estado" value
 * @method CA_PARAMETRICA setAlias()          Sets the current record's "alias" 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_PARAMETRICA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_PARAMETRICA');
        $this->hasColumn('id_parametrica', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre_tabla', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('campo_tabla', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('valor', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('alias', 'string', 256, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
    }

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