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

/**
 * BaseUSUARIO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $username
 * @property string $password
 * @property string $pass
 * @property integer $id_perfil
 * @property string $estado
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property string $nombre
 * @property string $apellido
 * @property string $email
 * @property  $last_login
 * @property boolean $is_admin
 * @property boolean $is_staff
 * @property integer $ldap_validacion
 * 
 * @method string  getUsername()        Returns the current record's "username" value
 * @method string  getPassword()        Returns the current record's "password" value
 * @method string  getPass()            Returns the current record's "pass" value
 * @method integer getIdPerfil()        Returns the current record's "id_perfil" value
 * @method string  getEstado()          Returns the current record's "estado" value
 * @method integer getIdTipoDoc()       Returns the current record's "id_tipo_doc" value
 * @method string  getNumDoc()          Returns the current record's "num_doc" value
 * @method string  getNombre()          Returns the current record's "nombre" value
 * @method string  getApellido()        Returns the current record's "apellido" value
 * @method string  getEmail()           Returns the current record's "email" value
 * @method boolean getIsAdmin()         Returns the current record's "is_admin" value
 * @method boolean getIsStaff()         Returns the current record's "is_staff" value
 * @method integer getLdapValidacion()  Returns the current record's "ldap_validacion" value
 * @method USUARIO setUsername()        Sets the current record's "username" value
 * @method USUARIO setPassword()        Sets the current record's "password" value
 * @method USUARIO setPass()            Sets the current record's "pass" value
 * @method USUARIO setIdPerfil()        Sets the current record's "id_perfil" value
 * @method USUARIO setEstado()          Sets the current record's "estado" value
 * @method USUARIO setIdTipoDoc()       Sets the current record's "id_tipo_doc" value
 * @method USUARIO setNumDoc()          Sets the current record's "num_doc" value
 * @method USUARIO setNombre()          Sets the current record's "nombre" value
 * @method USUARIO setApellido()        Sets the current record's "apellido" value
 * @method USUARIO setEmail()           Sets the current record's "email" value
 * @method USUARIO setIsAdmin()         Sets the current record's "is_admin" value
 * @method USUARIO setIsStaff()         Sets the current record's "is_staff" value
 * @method USUARIO setLdapValidacion()  Sets the current record's "ldap_validacion" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseUSUARIO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('USUARIO');
        $this->hasColumn('username', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('password', 'string', 384, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 384,
             ));
        $this->hasColumn('pass', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_perfil', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('apellido', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('email', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('last_login', '', 11, array(
             'notnull' => false,
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'type' => '',
             'length' => '11',
             ));
        $this->hasColumn('is_admin', 'boolean', 1, array(
             'notnull' => true,
             'type' => 'boolean',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('is_staff', 'boolean', 1, array(
             'notnull' => true,
             'type' => 'boolean',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('ldap_validacion', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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