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

/**
 * BaseTS_MB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $codigo
 * @property string $descripcion
 * @property integer $rubro_ing
 * @property integer $grupo
 * @property integer $dian
 * @property string $traslado
 * @property string $operador
 * @property integer $id_tip_mov
 * @property string $reintegro
 * @property string $caja
 * @property string $retencion
 * @property integer $id_ts_cr
 * @property integer $caja_men
 * 
 * @method integer getId()          Returns the current record's "id" value
 * @method string  getCodigo()      Returns the current record's "codigo" value
 * @method string  getDescripcion() Returns the current record's "descripcion" value
 * @method integer getRubroIng()    Returns the current record's "rubro_ing" value
 * @method integer getGrupo()       Returns the current record's "grupo" value
 * @method integer getDian()        Returns the current record's "dian" value
 * @method string  getTraslado()    Returns the current record's "traslado" value
 * @method string  getOperador()    Returns the current record's "operador" value
 * @method integer getIdTipMov()    Returns the current record's "id_tip_mov" value
 * @method string  getReintegro()   Returns the current record's "reintegro" value
 * @method string  getCaja()        Returns the current record's "caja" value
 * @method string  getRetencion()   Returns the current record's "retencion" value
 * @method integer getIdTsCr()      Returns the current record's "id_ts_cr" value
 * @method integer getCajaMen()     Returns the current record's "caja_men" value
 * @method TS_MB   setId()          Sets the current record's "id" value
 * @method TS_MB   setCodigo()      Sets the current record's "codigo" value
 * @method TS_MB   setDescripcion() Sets the current record's "descripcion" value
 * @method TS_MB   setRubroIng()    Sets the current record's "rubro_ing" value
 * @method TS_MB   setGrupo()       Sets the current record's "grupo" value
 * @method TS_MB   setDian()        Sets the current record's "dian" value
 * @method TS_MB   setTraslado()    Sets the current record's "traslado" value
 * @method TS_MB   setOperador()    Sets the current record's "operador" value
 * @method TS_MB   setIdTipMov()    Sets the current record's "id_tip_mov" value
 * @method TS_MB   setReintegro()   Sets the current record's "reintegro" value
 * @method TS_MB   setCaja()        Sets the current record's "caja" value
 * @method TS_MB   setRetencion()   Sets the current record's "retencion" value
 * @method TS_MB   setIdTsCr()      Sets the current record's "id_ts_cr" value
 * @method TS_MB   setCajaMen()     Sets the current record's "caja_men" 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_MB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_MB');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('rubro_ing', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('grupo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dian', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('traslado', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('operador', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_tip_mov', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('reintegro', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('caja', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('retencion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('id_ts_cr', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('caja_men', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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