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

/**
 * BaseCBR_PLANTILLA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_plantilla
 * @property string $descripcion
 * @property clob $detalle
 * @property string $version
 * 
 * @method integer       getIdPlantilla()  Returns the current record's "id_plantilla" value
 * @method string        getDescripcion()  Returns the current record's "descripcion" value
 * @method clob          getDetalle()      Returns the current record's "detalle" value
 * @method string        getVersion()      Returns the current record's "version" value
 * @method CBR_PLANTILLA setIdPlantilla()  Sets the current record's "id_plantilla" value
 * @method CBR_PLANTILLA setDescripcion()  Sets the current record's "descripcion" value
 * @method CBR_PLANTILLA setDetalle()      Sets the current record's "detalle" value
 * @method CBR_PLANTILLA setVersion()      Sets the current record's "version" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_PLANTILLA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_PLANTILLA');
        $this->hasColumn('id_plantilla', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('detalle', 'clob', 4000, array(
             'notnull' => false,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('version', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
    }

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