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

/**
 * BaseIN_ESPACIO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_espacio
 * @property integer $id_estructura
 * @property integer $id_tipo_espacio
 * @property string $descripcion
 * @property string $nivel
 * @property integer $coordenada_x
 * @property integer $coordenada_y
 * @property integer $estado
 * 
 * @method integer    getIdEspacio()       Returns the current record's "id_espacio" value
 * @method integer    getIdEstructura()    Returns the current record's "id_estructura" value
 * @method integer    getIdTipoEspacio()   Returns the current record's "id_tipo_espacio" value
 * @method string     getDescripcion()     Returns the current record's "descripcion" value
 * @method string     getNivel()           Returns the current record's "nivel" value
 * @method integer    getCoordenadaX()     Returns the current record's "coordenada_x" value
 * @method integer    getCoordenadaY()     Returns the current record's "coordenada_y" value
 * @method integer    getEstado()          Returns the current record's "estado" value
 * @method IN_ESPACIO setIdEspacio()       Sets the current record's "id_espacio" value
 * @method IN_ESPACIO setIdEstructura()    Sets the current record's "id_estructura" value
 * @method IN_ESPACIO setIdTipoEspacio()   Sets the current record's "id_tipo_espacio" value
 * @method IN_ESPACIO setDescripcion()     Sets the current record's "descripcion" value
 * @method IN_ESPACIO setNivel()           Sets the current record's "nivel" value
 * @method IN_ESPACIO setCoordenadaX()     Sets the current record's "coordenada_x" value
 * @method IN_ESPACIO setCoordenadaY()     Sets the current record's "coordenada_y" value
 * @method IN_ESPACIO setEstado()          Sets the current record's "estado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_ESPACIO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_ESPACIO');
        $this->hasColumn('id_espacio', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_estructura', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_espacio', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 200, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('nivel', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('coordenada_x', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('coordenada_y', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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