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

/**
 * BaseTS_CB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cb
 * @property integer $id_ts_bn
 * @property integer $id_tc
 * @property string $numero_cuenta
 * @property integer $codigo_suc
 * @property integer $id_ciudad
 * @property integer $id_regional
 * @property string $utilizacion_cta
 * @property timestamp $fecha_apertura
 * @property string $estado_cuenta
 * @property integer $id_formato_chq
 * @property integer $consecutivo_ch
 * @property string $cupo_sobregiro
 * @property string $aporte
 * @property integer $manejo_recurs
 * @property integer $aplica_pos
 * 
 * @method integer   getIdCb()            Returns the current record's "id_cb" value
 * @method integer   getIdTsBn()          Returns the current record's "id_ts_bn" value
 * @method integer   getIdTc()            Returns the current record's "id_tc" value
 * @method string    getNumeroCuenta()    Returns the current record's "numero_cuenta" value
 * @method integer   getCodigoSuc()       Returns the current record's "codigo_suc" value
 * @method integer   getIdCiudad()        Returns the current record's "id_ciudad" value
 * @method integer   getIdRegional()      Returns the current record's "id_regional" value
 * @method string    getUtilizacionCta()  Returns the current record's "utilizacion_cta" value
 * @method timestamp getFechaApertura()   Returns the current record's "fecha_apertura" value
 * @method string    getEstadoCuenta()    Returns the current record's "estado_cuenta" value
 * @method integer   getIdFormatoChq()    Returns the current record's "id_formato_chq" value
 * @method integer   getConsecutivoCh()   Returns the current record's "consecutivo_ch" value
 * @method string    getCupoSobregiro()   Returns the current record's "cupo_sobregiro" value
 * @method string    getAporte()          Returns the current record's "aporte" value
 * @method integer   getManejoRecurs()    Returns the current record's "manejo_recurs" value
 * @method integer   getAplicaPos()       Returns the current record's "aplica_pos" value
 * @method TS_CB     setIdCb()            Sets the current record's "id_cb" value
 * @method TS_CB     setIdTsBn()          Sets the current record's "id_ts_bn" value
 * @method TS_CB     setIdTc()            Sets the current record's "id_tc" value
 * @method TS_CB     setNumeroCuenta()    Sets the current record's "numero_cuenta" value
 * @method TS_CB     setCodigoSuc()       Sets the current record's "codigo_suc" value
 * @method TS_CB     setIdCiudad()        Sets the current record's "id_ciudad" value
 * @method TS_CB     setIdRegional()      Sets the current record's "id_regional" value
 * @method TS_CB     setUtilizacionCta()  Sets the current record's "utilizacion_cta" value
 * @method TS_CB     setFechaApertura()   Sets the current record's "fecha_apertura" value
 * @method TS_CB     setEstadoCuenta()    Sets the current record's "estado_cuenta" value
 * @method TS_CB     setIdFormatoChq()    Sets the current record's "id_formato_chq" value
 * @method TS_CB     setConsecutivoCh()   Sets the current record's "consecutivo_ch" value
 * @method TS_CB     setCupoSobregiro()   Sets the current record's "cupo_sobregiro" value
 * @method TS_CB     setAporte()          Sets the current record's "aporte" value
 * @method TS_CB     setManejoRecurs()    Sets the current record's "manejo_recurs" value
 * @method TS_CB     setAplicaPos()       Sets the current record's "aplica_pos" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_CB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_CB');
        $this->hasColumn('id_cb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_bn', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo_suc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ciudad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_regional', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('utilizacion_cta', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha_apertura', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado_cuenta', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_formato_chq', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('consecutivo_ch', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cupo_sobregiro', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('aporte', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('manejo_recurs', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('aplica_pos', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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