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

/**
 * BaseCBR_LEVANTA_MEDIDA
 * 
 * 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_LEVANTA_MEDIDA        setIdSecuestro()          Sets the current record's "id_secuestro" value
 * @method CBR_LEVANTA_MEDIDA        setIdProcesoCoactivo()    Sets the current record's "id_proceso_coactivo" value
 * @method CBR_LEVANTA_MEDIDA        setNoAuto()               Sets the current record's "no_auto" value
 * @method CBR_LEVANTA_MEDIDA        setFecha()                Sets the current record's "fecha" value
 * @method CBR_LEVANTA_MEDIDA        setFechaDiligencia()      Sets the current record's "fecha_diligencia" value
 * @method CBR_LEVANTA_MEDIDA        setDetallePlantilla()     Sets the current record's "detalle_plantilla" value
 * @method CBR_LEVANTA_MEDIDA        setObservaciones()        Sets the current record's "observaciones" value
 * @method CBR_LEVANTA_MEDIDA        setCBRPROCESOCOACTIVO()   Sets the current record's "CBR_PROCESO_COACTIVO" value
 * @method CBR_LEVANTA_MEDIDA        setCBRREMATE()            Sets the current record's "CBR_REMATE" collection
 * @method CBR_LEVANTA_MEDIDA        setCBROFICIOSECUESTRO()   Sets the current record's "CBR_OFICIO_SECUESTRO" collection
 * @method CBR_LEVANTA_MEDIDA        setCBRAVALUO()            Sets the current record's "CBR_AVALUO" collection
 * @method CBR_LEVANTA_MEDIDA        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_LEVANTA_MEDIDA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_LEVANTA_MEDIDA');
        $this->hasColumn('id_levanta_medida', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_medida_cautelar', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_motivo_levanta', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_auto', 'string', 150, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('fecha_auto', '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' => true,
             '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,
             ));
        $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,
             ));
          $this->hasColumn('fecha_aprueba', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
            $this->hasColumn('usuario_aprueba', 'integer',20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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