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

/**
 * BaseTS_TD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $documento
 * @property string $descripcion
 * @property string $desccorta
 * @property integer $codsiif
 * 
 * @method integer getId()          Returns the current record's "id" value
 * @method string  getDocumento()   Returns the current record's "documento" value
 * @method string  getDescripcion() Returns the current record's "descripcion" value
 * @method string  getDesccorta()   Returns the current record's "desccorta" value
 * @method integer getCodsiif()     Returns the current record's "codsiif" value
 * @method TS_TD   setId()          Sets the current record's "id" value
 * @method TS_TD   setDocumento()   Sets the current record's "documento" value
 * @method TS_TD   setDescripcion() Sets the current record's "descripcion" value
 * @method TS_TD   setDesccorta()   Sets the current record's "desccorta" value
 * @method TS_TD   setCodsiif()     Sets the current record's "codsiif" 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_TD extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_TD');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('documento', 'string', 20, array(
             'notnull' => true,
             '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('codsiif', 'integer', 2, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
    }

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