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

/**
 * BaseNO_CONSTANTE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_constante
 * @property string $nombre
 * @property decimal $valor
 * 
 * @method integer      getIdConstante()  Returns the current record's "id_constante" value
 * @method string       getNombre()       Returns the current record's "nombre" value
 * @method decimal      getValor()        Returns the current record's "valor" value
 * @method NO_CONSTANTE setIdConstante()  Sets the current record's "id_constante" value
 * @method NO_CONSTANTE setNombre()       Sets the current record's "nombre" value
 * @method NO_CONSTANTE setValor()        Sets the current record's "valor" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_CONSTANTE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CONSTANTE');
        $this->hasColumn('id_constante', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 64, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 64,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 18,
             ));
    }

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