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

/**
 * BaseTS_PC_MRC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $codigo
 * @property string $descripcion
 * @property string $desccorta
 * @property string $retencion
 * @property integer $id_ts_cr
 * @property integer $rubro
 * @property integer $grupo
 * @property integer $dian
 * @property string $reintegro
 * 
 * @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 string    getDesccorta()   Returns the current record's "desccorta" 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   getRubro()       Returns the current record's "rubro" value
 * @method integer   getGrupo()       Returns the current record's "grupo" value
 * @method integer   getDian()        Returns the current record's "dian" value
 * @method string    getReintegro()   Returns the current record's "reintegro" value
 * @method TS_PC_MRC setId()          Sets the current record's "id" value
 * @method TS_PC_MRC setCodigo()      Sets the current record's "codigo" value
 * @method TS_PC_MRC setDescripcion() Sets the current record's "descripcion" value
 * @method TS_PC_MRC setDesccorta()   Sets the current record's "desccorta" value
 * @method TS_PC_MRC setRetencion()   Sets the current record's "retencion" value
 * @method TS_PC_MRC setIdTsCr()      Sets the current record's "id_ts_cr" value
 * @method TS_PC_MRC setRubro()       Sets the current record's "rubro" value
 * @method TS_PC_MRC setGrupo()       Sets the current record's "grupo" value
 * @method TS_PC_MRC setDian()        Sets the current record's "dian" value
 * @method TS_PC_MRC setReintegro()   Sets the current record's "reintegro" 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_PC_MRC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_PC_MRC');
        $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('desccorta', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('retencion', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_ts_cr', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('rubro', '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('reintegro', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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