<?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_plantilla_contrato
 * @property string $descripcion
 * @property clob $detalle
 * 
 * @method integer       getIdPlantillaContrato()  Returns the current record's "id_plantilla_contrato" value
 * @method string        getDescripcion()  Returns the current record's "descripcion" value
 * @method clob          getDetalle()      Returns the current record's "detalle" 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 setDetalle()      Sets the current record's "detalle" value
 * 
 * @package    cobro_coactivo
 * @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_plantilla_contrato', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            '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' => true,
            '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();
    }

}
