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

/**
 * BaseCO_PLANTILLA_CONTRATO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_plantilla_contrato
 * @property string $descripcion
 * @property string $version
 * @property clob $detalle
 * 
 * @method integer               getId()                    Returns the current record's "id" value
 * @method integer               getIdPlantillaContrato()   Returns the current record's "id_plantilla_contrato" value
 * @method string                getDescripcion()           Returns the current record's "descripcion" value
 * @method string                getVersion()               Returns the current record's "version" value
 * @method clob                  getDetalle()               Returns the current record's "detalle" value
 * @method CO_PLANTILLA_CONTRATO setId()                    Sets the current record's "id" value
 * @method CO_PLANTILLA_CONTRATO setIdPlantillaContrato()   Sets the current record's "id_plantilla_contrato" value
 * @method CO_PLANTILLA_CONTRATO setDescripcion()           Sets the current record's "descripcion" value
 * @method CO_PLANTILLA_CONTRATO setVersion()               Sets the current record's "version" value
 * @method CO_PLANTILLA_CONTRATO setDetalle()               Sets the current record's "detalle" 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_PLANTILLA_CONTRATO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_PLANTILLA_CONTRATO');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_plantilla_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('version', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('detalle', 'clob', 4000, array(
             'notnull' => true,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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