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

/**
 * BasePERFIL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $nombre
 * @property string $estado
 * @property integer $id
 * @property integer $administrador
 * 
 * @method string  getNombre()        Returns the current record's "nombre" value
 * @method string  getEstado()        Returns the current record's "estado" value
 * @method integer getId()            Returns the current record's "id" value
 * @method integer getAdministrador() Returns the current record's "administrador" value
 * @method PERFIL  setNombre()        Sets the current record's "nombre" value
 * @method PERFIL  setEstado()        Sets the current record's "estado" value
 * @method PERFIL  setId()            Sets the current record's "id" value
 * @method PERFIL  setAdministrador() Sets the current record's "administrador" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePERFIL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PERFIL');
        $this->hasColumn('nombre', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('estado', 'string', 1, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('administrador', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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