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

/**
 * BaseCBR_TIPO_NOTIFICA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_notifica
 * @property string $descripcion
 * @property integer $orden
 * @property integer $cierre
 * @property integer $opcional
 * @property integer $obligatorio
 * 
 * @method integer           getIdTipoNotifica()   Returns the current record's "id_tipo_notifica" value
 * @method string            getDescripcion()      Returns the current record's "descripcion" value
 * @method integer           getOrden()            Returns the current record's "orden" value
 * @method integer           getCierre()           Returns the current record's "cierre" value
 * @method integer           getOpcional()         Returns the current record's "opcional" value
 * @method integer           getObligatorio()      Returns the current record's "obligatorio" value
 * @method CBR_TIPO_NOTIFICA setIdTipoNotifica()   Sets the current record's "id_tipo_notifica" value
 * @method CBR_TIPO_NOTIFICA setDescripcion()      Sets the current record's "descripcion" value
 * @method CBR_TIPO_NOTIFICA setOrden()            Sets the current record's "orden" value
 * @method CBR_TIPO_NOTIFICA setCierre()           Sets the current record's "cierre" value
 * @method CBR_TIPO_NOTIFICA setOpcional()         Sets the current record's "opcional" value
 * @method CBR_TIPO_NOTIFICA setObligatorio()      Sets the current record's "obligatorio" 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_TIPO_NOTIFICA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_TIPO_NOTIFICA');
        $this->hasColumn('id_tipo_notifica', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('orden', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cierre', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('opcional', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('obligatorio', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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