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

/**
 * BaseCM_USUARIO_CAJA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_usuario_caja
 * @property string $username
 * @property integer $id_caja_menor
 * @property integer $estado
 * 
 * @method integer         getIdUsuarioCaja()   Returns the current record's "id_usuario_caja" value
 * @method string          getUsername()        Returns the current record's "username" value
 * @method integer         getIdCajaMenor()     Returns the current record's "id_caja_menor" value
 * @method integer         getEstado()          Returns the current record's "estado" value
 * @method CM_USUARIO_CAJA setIdUsuarioCaja()   Sets the current record's "id_usuario_caja" value
 * @method CM_USUARIO_CAJA setUsername()        Sets the current record's "username" value
 * @method CM_USUARIO_CAJA setIdCajaMenor()     Sets the current record's "id_caja_menor" value
 * @method CM_USUARIO_CAJA setEstado()          Sets the current record's "estado" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_USUARIO_CAJA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_USUARIO_CAJA');
        $this->hasColumn('id_usuario_caja', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('username', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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