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

/**
 * BaseTS_CIERRE_REG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cierre_reg
 * @property integer $id_dis_reg
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property string $vigencia
 * 
 * @method integer       getIdCierreReg()   Returns the current record's "id_cierre_reg" value
 * @method integer       getIdDisReg()      Returns the current record's "id_dis_reg" value
 * @method timestamp     getFechaProc()     Returns the current record's "fecha_proc" value
 * @method timestamp     getFechaSys()      Returns the current record's "fecha_sys" value
 * @method string        getUsuario()       Returns the current record's "usuario" value
 * @method string        getVigencia()      Returns the current record's "vigencia" value
 * @method TS_CIERRE_REG setIdCierreReg()   Sets the current record's "id_cierre_reg" value
 * @method TS_CIERRE_REG setIdDisReg()      Sets the current record's "id_dis_reg" value
 * @method TS_CIERRE_REG setFechaProc()     Sets the current record's "fecha_proc" value
 * @method TS_CIERRE_REG setFechaSys()      Sets the current record's "fecha_sys" value
 * @method TS_CIERRE_REG setUsuario()       Sets the current record's "usuario" value
 * @method TS_CIERRE_REG setVigencia()      Sets the current record's "vigencia" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_CIERRE_REG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_CIERRE_REG');
        $this->hasColumn('id_cierre_reg', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_dis_reg', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
    }

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