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

/**
 * BaseTS_AGRUP_RETEN
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_agrup_reten
 * @property string $codigo
 * @property string $descripcion
 * @property integer $id_ts_cr
 * @property string $codigo_pago
 * @property string $codigo_reten
 * 
 * @method integer        getIdAgrupReten()   Returns the current record's "id_agrup_reten" value
 * @method string         getCodigo()         Returns the current record's "codigo" value
 * @method string         getDescripcion()    Returns the current record's "descripcion" value
 * @method integer        getIdTsCr()         Returns the current record's "id_ts_cr" value
 * @method string         getCodigoPago()     Returns the current record's "codigo_pago" value
 * @method string         getCodigoReten()    Returns the current record's "codigo_reten" value
 * @method TS_AGRUP_RETEN setIdAgrupReten()   Sets the current record's "id_agrup_reten" value
 * @method TS_AGRUP_RETEN setCodigo()         Sets the current record's "codigo" value
 * @method TS_AGRUP_RETEN setDescripcion()    Sets the current record's "descripcion" value
 * @method TS_AGRUP_RETEN setIdTsCr()         Sets the current record's "id_ts_cr" value
 * @method TS_AGRUP_RETEN setCodigoPago()     Sets the current record's "codigo_pago" value
 * @method TS_AGRUP_RETEN setCodigoReten()    Sets the current record's "codigo_reten" 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_AGRUP_RETEN extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_AGRUP_RETEN');
        $this->hasColumn('id_agrup_reten', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 100, array(
             'notnull' => true,
             '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('codigo_pago', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo_reten', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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