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

/**
 * BaseCUENTAS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cuentas
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property string $entidad
 * @property integer $id_tipo_cuenta
 * @property string $num_cuenta
 * @property string $sede_cuenta
 * @property integer $saldo
 * 
 * @method integer getIdCuentas()      Returns the current record's "id_cuentas" 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  getEntidad()        Returns the current record's "entidad" value
 * @method integer getIdTipoCuenta()   Returns the current record's "id_tipo_cuenta" value
 * @method string  getNumCuenta()      Returns the current record's "num_cuenta" value
 * @method string  getSedeCuenta()     Returns the current record's "sede_cuenta" value
 * @method integer getSaldo()          Returns the current record's "saldo" value
 * @method CUENTAS setIdCuentas()      Sets the current record's "id_cuentas" value
 * @method CUENTAS setIdTipoDoc()      Sets the current record's "id_tipo_doc" value
 * @method CUENTAS setNumDoc()         Sets the current record's "num_doc" value
 * @method CUENTAS setEntidad()        Sets the current record's "entidad" value
 * @method CUENTAS setIdTipoCuenta()   Sets the current record's "id_tipo_cuenta" value
 * @method CUENTAS setNumCuenta()      Sets the current record's "num_cuenta" value
 * @method CUENTAS setSedeCuenta()     Sets the current record's "sede_cuenta" value
 * @method CUENTAS setSaldo()          Sets the current record's "saldo" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCUENTAS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CUENTAS');
        $this->hasColumn('id_cuentas', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             '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' => false,
             'length' => 20,
             ));
        $this->hasColumn('entidad', 'string', 40, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 40,
             ));
        $this->hasColumn('id_tipo_cuenta', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_cuenta', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('sede_cuenta', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('saldo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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