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

/**
 * BaseCBR_NOTIFICA_MEDIDA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_notifica_medida
 * @property integer $id_levanta_medida
 * @property integer $numero
 * @property timestamp $fecha
 * @property string $adjunto
 * @property string $observaciones
 * @property integer $id_tipo_notifica
 * @property integer $notificado
 * 
 * @method integer             getIdNotificaMedida()   Returns the current record's "id_notifica_medida" value
 * @method integer             getIdLevantaMedida()    Returns the current record's "id_levanta_medida" value
 * @method integer             getNumero()             Returns the current record's "numero" value
 * @method timestamp           getFecha()              Returns the current record's "fecha" value
 * @method string              getAdjunto()            Returns the current record's "adjunto" value
 * @method string              getObservaciones()      Returns the current record's "observaciones" value
 * @method integer             getIdTipoNotifica()     Returns the current record's "id_tipo_notifica" value
 * @method integer             getNotificado()         Returns the current record's "notificado" value
 * @method CBR_NOTIFICA_MEDIDA setIdNotificaMedida()   Sets the current record's "id_notifica_medida" value
 * @method CBR_NOTIFICA_MEDIDA setIdLevantaMedida()    Sets the current record's "id_levanta_medida" value
 * @method CBR_NOTIFICA_MEDIDA setNumero()             Sets the current record's "numero" value
 * @method CBR_NOTIFICA_MEDIDA setFecha()              Sets the current record's "fecha" value
 * @method CBR_NOTIFICA_MEDIDA setAdjunto()            Sets the current record's "adjunto" value
 * @method CBR_NOTIFICA_MEDIDA setObservaciones()      Sets the current record's "observaciones" value
 * @method CBR_NOTIFICA_MEDIDA setIdTipoNotifica()     Sets the current record's "id_tipo_notifica" value
 * @method CBR_NOTIFICA_MEDIDA setNotificado()         Sets the current record's "notificado" 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_NOTIFICA_MEDIDA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_NOTIFICA_MEDIDA');
        $this->hasColumn('id_notifica_medida', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_levanta_medida', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero', 'integer', 20, array(
             'notnull' => false,
             '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('adjunto', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_tipo_notifica', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('notificado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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