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

/**
 * BaseCBR_NOTIFICACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_notificacion
 * @property integer $numero
 * @property timestamp $fecha
 * @property string $adjunto
 * @property string $observaciones
 * @property integer $id_registro_etapa
 * @property integer $id_tipo_notifica
 * @property integer $notificado
 * @property timestamp $fecha_recibido
 * 
 * @method integer          getIdNotificacion()    Returns the current record's "id_notificacion" 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          getIdRegistroEtapa()   Returns the current record's "id_registro_etapa" value
 * @method integer          getIdTipoNotifica()    Returns the current record's "id_tipo_notifica" value
 * @method integer          getNotificado()        Returns the current record's "notificado" value
 * @method timestamp        getFechaRecibido()     Returns the current record's "fecha_recibido" value
 * @method CBR_NOTIFICACION setIdNotificacion()    Sets the current record's "id_notificacion" value
 * @method CBR_NOTIFICACION setNumero()            Sets the current record's "numero" value
 * @method CBR_NOTIFICACION setFecha()             Sets the current record's "fecha" value
 * @method CBR_NOTIFICACION setAdjunto()           Sets the current record's "adjunto" value
 * @method CBR_NOTIFICACION setObservaciones()     Sets the current record's "observaciones" value
 * @method CBR_NOTIFICACION setIdRegistroEtapa()   Sets the current record's "id_registro_etapa" value
 * @method CBR_NOTIFICACION setIdTipoNotifica()    Sets the current record's "id_tipo_notifica" value
 * @method CBR_NOTIFICACION setNotificado()        Sets the current record's "notificado" value
 * @method CBR_NOTIFICACION setFechaRecibido()     Sets the current record's "fecha_recibido" 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_NOTIFICACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_NOTIFICACION');
        $this->hasColumn('id_notificacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('numero', '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('adjunto', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_registro_etapa', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_recibido', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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