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

/**
 * BaseMODULOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mod
 * @property string $nombre
 * @property string $direccion
 * @property integer $orden
 * @property integer $categoria_id
 * @property string $url_imagen
 * @property string $url_imagen_gris
 * @property integer $estado
 * @property string $descripcion
 * @property string $url_imagen_descripcion
 * 
 * @method integer getIdMod()                  Returns the current record's "id_mod" value
 * @method string  getNombre()                 Returns the current record's "nombre" value
 * @method string  getDireccion()              Returns the current record's "direccion" value
 * @method integer getOrden()                  Returns the current record's "orden" value
 * @method integer getCategoriaId()            Returns the current record's "categoria_id" value
 * @method string  getUrlImagen()              Returns the current record's "url_imagen" value
 * @method string  getUrlImagenGris()          Returns the current record's "url_imagen_gris" value
 * @method integer getEstado()                 Returns the current record's "estado" value
 * @method string  getDescripcion()            Returns the current record's "descripcion" value
 * @method string  getUrlImagenDescripcion()   Returns the current record's "url_imagen_descripcion" value
 * @method MODULOS setIdMod()                  Sets the current record's "id_mod" value
 * @method MODULOS setNombre()                 Sets the current record's "nombre" value
 * @method MODULOS setDireccion()              Sets the current record's "direccion" value
 * @method MODULOS setOrden()                  Sets the current record's "orden" value
 * @method MODULOS setCategoriaId()            Sets the current record's "categoria_id" value
 * @method MODULOS setUrlImagen()              Sets the current record's "url_imagen" value
 * @method MODULOS setUrlImagenGris()          Sets the current record's "url_imagen_gris" value
 * @method MODULOS setEstado()                 Sets the current record's "estado" value
 * @method MODULOS setDescripcion()            Sets the current record's "descripcion" value
 * @method MODULOS setUrlImagenDescripcion()   Sets the current record's "url_imagen_descripcion" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseMODULOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('MODULOS');
        $this->hasColumn('id_mod', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('direccion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('orden', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('categoria_id', 'integer', 11, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 11,
             ));
        $this->hasColumn('url_imagen', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('url_imagen_gris', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('descripcion', 'string', 1536, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1536,
             ));
        $this->hasColumn('url_imagen_descripcion', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
    }

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