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

/**
 * BaseTS_MOV_BANC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_ts_bn
 * @property integer $id_ts_cb
 * @property integer $id_ts_mb
 * @property integer $id_ts_td
 * @property integer $numero_doc
 * @property timestamp $fecha
 * @property timestamp $fecha_proc
 * @property integer $id_mae_ter
 * @property decimal $valor
 * @property string $observaciones
 * @property string $afecta_pac
 * @property string $usuariolog
 * @property timestamp $fechalog
 * @property string $oficina
 * @property integer $id_mineral_cb
 * @property integer $consecutivo_mb
 * @property integer $estado
 * @property integer $id_liq_pago_web
 * @property string $id_referencia
 * @property integer $id_titulo
 * @property integer $id_etapa
 * @property string $nombre_etapa
 * @property integer $id_anualidad
 * @property string $nombre_anualidad
 * 
 * @method integer     getId()               Returns the current record's "id" value
 * @method integer     getIdTsBn()           Returns the current record's "id_ts_bn" value
 * @method integer     getIdTsCb()           Returns the current record's "id_ts_cb" value
 * @method integer     getIdTsMb()           Returns the current record's "id_ts_mb" value
 * @method integer     getIdTsTd()           Returns the current record's "id_ts_td" value
 * @method integer     getNumeroDoc()        Returns the current record's "numero_doc" value
 * @method timestamp   getFecha()            Returns the current record's "fecha" value
 * @method timestamp   getFechaProc()        Returns the current record's "fecha_proc" value
 * @method integer     getIdMaeTer()         Returns the current record's "id_mae_ter" value
 * @method decimal     getValor()            Returns the current record's "valor" value
 * @method string      getObservaciones()    Returns the current record's "observaciones" value
 * @method string      getAfectaPac()        Returns the current record's "afecta_pac" value
 * @method string      getUsuariolog()       Returns the current record's "usuariolog" value
 * @method timestamp   getFechalog()         Returns the current record's "fechalog" value
 * @method string      getOficina()          Returns the current record's "oficina" value
 * @method integer     getIdMineralCb()      Returns the current record's "id_mineral_cb" value
 * @method integer     getConsecutivoMb()    Returns the current record's "consecutivo_mb" value
 * @method integer     getEstado()           Returns the current record's "estado" value
 * @method integer     getIdLiqPagoWeb()     Returns the current record's "id_liq_pago_web" value
 * @method string      getIdReferencia()     Returns the current record's "id_referencia" value
 * @method integer     getIdTitulo()         Returns the current record's "id_titulo" value
 * @method integer     getIdEtapa()          Returns the current record's "id_etapa" value
 * @method string      getNombreEtapa()      Returns the current record's "nombre_etapa" value
 * @method integer     getIdAnualidad()      Returns the current record's "id_anualidad" value
 * @method string      getNombreAnualidad()  Returns the current record's "nombre_anualidad" value
 * @method TS_MOV_BANC setId()               Sets the current record's "id" value
 * @method TS_MOV_BANC setIdTsBn()           Sets the current record's "id_ts_bn" value
 * @method TS_MOV_BANC setIdTsCb()           Sets the current record's "id_ts_cb" value
 * @method TS_MOV_BANC setIdTsMb()           Sets the current record's "id_ts_mb" value
 * @method TS_MOV_BANC setIdTsTd()           Sets the current record's "id_ts_td" value
 * @method TS_MOV_BANC setNumeroDoc()        Sets the current record's "numero_doc" value
 * @method TS_MOV_BANC setFecha()            Sets the current record's "fecha" value
 * @method TS_MOV_BANC setFechaProc()        Sets the current record's "fecha_proc" value
 * @method TS_MOV_BANC setIdMaeTer()         Sets the current record's "id_mae_ter" value
 * @method TS_MOV_BANC setValor()            Sets the current record's "valor" value
 * @method TS_MOV_BANC setObservaciones()    Sets the current record's "observaciones" value
 * @method TS_MOV_BANC setAfectaPac()        Sets the current record's "afecta_pac" value
 * @method TS_MOV_BANC setUsuariolog()       Sets the current record's "usuariolog" value
 * @method TS_MOV_BANC setFechalog()         Sets the current record's "fechalog" value
 * @method TS_MOV_BANC setOficina()          Sets the current record's "oficina" value
 * @method TS_MOV_BANC setIdMineralCb()      Sets the current record's "id_mineral_cb" value
 * @method TS_MOV_BANC setConsecutivoMb()    Sets the current record's "consecutivo_mb" value
 * @method TS_MOV_BANC setEstado()           Sets the current record's "estado" value
 * @method TS_MOV_BANC setIdLiqPagoWeb()     Sets the current record's "id_liq_pago_web" value
 * @method TS_MOV_BANC setIdReferencia()     Sets the current record's "id_referencia" value
 * @method TS_MOV_BANC setIdTitulo()         Sets the current record's "id_titulo" value
 * @method TS_MOV_BANC setIdEtapa()          Sets the current record's "id_etapa" value
 * @method TS_MOV_BANC setNombreEtapa()      Sets the current record's "nombre_etapa" value
 * @method TS_MOV_BANC setIdAnualidad()      Sets the current record's "id_anualidad" value
 * @method TS_MOV_BANC setNombreAnualidad()  Sets the current record's "nombre_anualidad" 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_MOV_BANC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_MOV_BANC');
        $this->hasColumn('id', '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_ts_cb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_mb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_td', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_doc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 22, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 22,
             ));
        $this->hasColumn('observaciones', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('afecta_pac', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('oficina', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_mineral_cb', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('consecutivo_mb', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_liq_pago_web', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_referencia', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_titulo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_etapa', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nombre_etapa', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('id_anualidad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nombre_anualidad', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

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