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

/**
 * BaseAREA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_area
 * @property string $descripcion
 * @property string $sigla
 * @property integer $id_dependencia
 * @property string $codigo
 * @property integer $id_nivel
 * @property integer $id_coordinador
 * 
 * @method integer getIdArea()         Returns the current record's "id_area" value
 * @method string  getDescripcion()    Returns the current record's "descripcion" value
 * @method string  getSigla()          Returns the current record's "sigla" value
 * @method integer getIdDependencia()  Returns the current record's "id_dependencia" value
 * @method string  getCodigo()         Returns the current record's "codigo" value
 * @method integer getIdNivel()        Returns the current record's "id_nivel" value
 * @method integer getIdCoordinador()  Returns the current record's "id_coordinador" value
 * @method AREA    setIdArea()         Sets the current record's "id_area" value
 * @method AREA    setDescripcion()    Sets the current record's "descripcion" value
 * @method AREA    setSigla()          Sets the current record's "sigla" value
 * @method AREA    setIdDependencia()  Sets the current record's "id_dependencia" value
 * @method AREA    setCodigo()         Sets the current record's "codigo" value
 * @method AREA    setIdNivel()        Sets the current record's "id_nivel" value
 * @method AREA    setIdCoordinador()  Sets the current record's "id_coordinador" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseAREA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('AREA');
        $this->hasColumn('id_area', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('sigla', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_dependencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_nivel', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_coordinador', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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