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

/**
 * BaseTSMV_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_mov
 * @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 string $nitcc
 * @property string $codban
 * @property string $cuenta
 * @property string $conban
 * @property string $codmin
 * @property string $codimp
 * @property timestamp $fec_anu
 * @property integer $numopr
 * @property integer $numsec
 * @property integer $secuen
 * 
 * @method integer   getId()             Returns the current record's "id" value
 * @method integer   getIdMov()          Returns the current record's "id_mov" 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 string    getNitcc()          Returns the current record's "nitcc" value
 * @method string    getCodban()         Returns the current record's "codban" value
 * @method string    getCuenta()         Returns the current record's "cuenta" value
 * @method string    getConban()         Returns the current record's "conban" value
 * @method string    getCodmin()         Returns the current record's "codmin" value
 * @method string    getCodimp()         Returns the current record's "codimp" value
 * @method timestamp getFecAnu()         Returns the current record's "fec_anu" value
 * @method integer   getNumopr()         Returns the current record's "numopr" value
 * @method integer   getNumsec()         Returns the current record's "numsec" value
 * @method integer   getSecuen()         Returns the current record's "secuen" value
 * @method TSMV_SAFI setId()             Sets the current record's "id" value
 * @method TSMV_SAFI setIdMov()          Sets the current record's "id_mov" value
 * @method TSMV_SAFI setIdTsBn()         Sets the current record's "id_ts_bn" value
 * @method TSMV_SAFI setIdTsCb()         Sets the current record's "id_ts_cb" value
 * @method TSMV_SAFI setIdTsMb()         Sets the current record's "id_ts_mb" value
 * @method TSMV_SAFI setIdTsTd()         Sets the current record's "id_ts_td" value
 * @method TSMV_SAFI setNumeroDoc()      Sets the current record's "numero_doc" value
 * @method TSMV_SAFI setFecha()          Sets the current record's "fecha" value
 * @method TSMV_SAFI setFechaProc()      Sets the current record's "fecha_proc" value
 * @method TSMV_SAFI setIdMaeTer()       Sets the current record's "id_mae_ter" value
 * @method TSMV_SAFI setValor()          Sets the current record's "valor" value
 * @method TSMV_SAFI setObservaciones()  Sets the current record's "observaciones" value
 * @method TSMV_SAFI setAfectaPac()      Sets the current record's "afecta_pac" value
 * @method TSMV_SAFI setUsuariolog()     Sets the current record's "usuariolog" value
 * @method TSMV_SAFI setFechalog()       Sets the current record's "fechalog" value
 * @method TSMV_SAFI setOficina()        Sets the current record's "oficina" value
 * @method TSMV_SAFI setIdMineralCb()    Sets the current record's "id_mineral_cb" value
 * @method TSMV_SAFI setConsecutivoMb()  Sets the current record's "consecutivo_mb" value
 * @method TSMV_SAFI setEstado()         Sets the current record's "estado" value
 * @method TSMV_SAFI setNitcc()          Sets the current record's "nitcc" value
 * @method TSMV_SAFI setCodban()         Sets the current record's "codban" value
 * @method TSMV_SAFI setCuenta()         Sets the current record's "cuenta" value
 * @method TSMV_SAFI setConban()         Sets the current record's "conban" value
 * @method TSMV_SAFI setCodmin()         Sets the current record's "codmin" value
 * @method TSMV_SAFI setCodimp()         Sets the current record's "codimp" value
 * @method TSMV_SAFI setFecAnu()         Sets the current record's "fec_anu" value
 * @method TSMV_SAFI setNumopr()         Sets the current record's "numopr" value
 * @method TSMV_SAFI setNumsec()         Sets the current record's "numsec" value
 * @method TSMV_SAFI setSecuen()         Sets the current record's "secuen" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSMV_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSMV_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mov', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             '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', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $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('nitcc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codban', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('conban', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codmin', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codimp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fec_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('numopr', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numsec', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuen', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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