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

/**
 * BaseCBR_DILIGENCIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_diligencia
 * @property integer $id_secuestro
 * @property integer $no_acta
 * @property timestamp $fecha
 * @property clob $detalle_plantilla
 * @property string $observaciones
 * @property string $adjunto
 * 
 * @method integer        getIdDiligencia()      Returns the current record's "id_diligencia" value
 * @method integer        getIdSecuestro()       Returns the current record's "id_secuestro" value
 * @method integer        getNoActa()            Returns the current record's "no_acta" value
 * @method timestamp      getFecha()             Returns the current record's "fecha" value
 * @method clob           getDetallePlantilla()  Returns the current record's "detalle_plantilla" value
 * @method string         getObservaciones()     Returns the current record's "observaciones" value
 * @method string         getAdjunto()           Returns the current record's "adjunto" value
 * @method CBR_DILIGENCIA setIdDiligencia()      Sets the current record's "id_diligencia" value
 * @method CBR_DILIGENCIA setIdSecuestro()       Sets the current record's "id_secuestro" value
 * @method CBR_DILIGENCIA setNoActa()            Sets the current record's "no_acta" value
 * @method CBR_DILIGENCIA setFecha()             Sets the current record's "fecha" value
 * @method CBR_DILIGENCIA setDetallePlantilla()  Sets the current record's "detalle_plantilla" value
 * @method CBR_DILIGENCIA setObservaciones()     Sets the current record's "observaciones" value
 * @method CBR_DILIGENCIA setAdjunto()           Sets the current record's "adjunto" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_DILIGENCIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_DILIGENCIA');
        $this->hasColumn('id_diligencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_secuestro', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_acta', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('detalle_plantilla', 'clob', 4000, array(
             'notnull' => false,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('adjunto', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
    }

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