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

/**
 * BaseCBR_SECUESTRO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_secuestro
 * @property integer $id_proceso_coactivo
 * @property integer $no_auto
 * @property timestamp $fecha
 * @property timestamp $fecha_diligencia
 * @property clob $detalle_plantilla
 * @property string $observaciones
 * @property CBR_PROCESO_COACTIVO $CBR_PROCESO_COACTIVO
 * @property Doctrine_Collection $CBR_REMATE
 * @property Doctrine_Collection $CBR_OFICIO_SECUESTRO
 * @property Doctrine_Collection $CBR_AVALUO
 * @property Doctrine_Collection $CBR_ADJUDICACION
 * 
 * @method integer              getIdSecuestro()          Returns the current record's "id_secuestro" value
 * @method integer              getIdProcesoCoactivo()    Returns the current record's "id_proceso_coactivo" value
 * @method integer              getNoAuto()               Returns the current record's "no_auto" value
 * @method timestamp            getFecha()                Returns the current record's "fecha" value
 * @method timestamp            getFechaDiligencia()      Returns the current record's "fecha_diligencia" value
 * @method clob                 getDetallePlantilla()     Returns the current record's "detalle_plantilla" value
 * @method string               getObservaciones()        Returns the current record's "observaciones" value
 * @method CBR_PROCESO_COACTIVO getCBRPROCESOCOACTIVO()   Returns the current record's "CBR_PROCESO_COACTIVO" value
 * @method Doctrine_Collection  getCBRREMATE()            Returns the current record's "CBR_REMATE" collection
 * @method Doctrine_Collection  getCBROFICIOSECUESTRO()   Returns the current record's "CBR_OFICIO_SECUESTRO" collection
 * @method Doctrine_Collection  getCBRAVALUO()            Returns the current record's "CBR_AVALUO" collection
 * @method Doctrine_Collection  getCBRADJUDICACION()      Returns the current record's "CBR_ADJUDICACION" collection
 * @method CBR_SECUESTRO        setIdSecuestro()          Sets the current record's "id_secuestro" value
 * @method CBR_SECUESTRO        setIdProcesoCoactivo()    Sets the current record's "id_proceso_coactivo" value
 * @method CBR_SECUESTRO        setNoAuto()               Sets the current record's "no_auto" value
 * @method CBR_SECUESTRO        setFecha()                Sets the current record's "fecha" value
 * @method CBR_SECUESTRO        setFechaDiligencia()      Sets the current record's "fecha_diligencia" value
 * @method CBR_SECUESTRO        setDetallePlantilla()     Sets the current record's "detalle_plantilla" value
 * @method CBR_SECUESTRO        setObservaciones()        Sets the current record's "observaciones" value
 * @method CBR_SECUESTRO        setCBRPROCESOCOACTIVO()   Sets the current record's "CBR_PROCESO_COACTIVO" value
 * @method CBR_SECUESTRO        setCBRREMATE()            Sets the current record's "CBR_REMATE" collection
 * @method CBR_SECUESTRO        setCBROFICIOSECUESTRO()   Sets the current record's "CBR_OFICIO_SECUESTRO" collection
 * @method CBR_SECUESTRO        setCBRAVALUO()            Sets the current record's "CBR_AVALUO" collection
 * @method CBR_SECUESTRO        setCBRADJUDICACION()      Sets the current record's "CBR_ADJUDICACION" collection
 * 
 * @package    cobro_coactivo
 * @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(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_secuestro', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_acta', 'string', 150, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $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' => true,
             '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' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
         $this->hasColumn('id_plantilla', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
         $this->hasColumn('id_tipo_documento', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
         $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
         $this->hasColumn('usuario_log', 'integer',20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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