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

/**
 * BaseTS_MODIFICA_CLASE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_modifica_clase
 * @property integer $id_obligacion
 * @property integer $secuencia
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property integer $id_cp_ini
 * @property integer $id_cp_fin
 * @property string $usuario
 * @property timestamp $fechalog
 * @property string $observaciones
 * 
 * @method integer           getIdModificaClase()   Returns the current record's "id_modifica_clase" value
 * @method integer           getIdObligacion()      Returns the current record's "id_obligacion" value
 * @method integer           getSecuencia()         Returns the current record's "secuencia" value
 * @method integer           getIdVigencia()        Returns the current record's "id_vigencia" value
 * @method string            getAnoFiscal()         Returns the current record's "ano_fiscal" value
 * @method integer           getIdCpIni()           Returns the current record's "id_cp_ini" value
 * @method integer           getIdCpFin()           Returns the current record's "id_cp_fin" value
 * @method string            getUsuario()           Returns the current record's "usuario" value
 * @method timestamp         getFechalog()          Returns the current record's "fechalog" value
 * @method string            getObservaciones()     Returns the current record's "observaciones" value
 * @method TS_MODIFICA_CLASE setIdModificaClase()   Sets the current record's "id_modifica_clase" value
 * @method TS_MODIFICA_CLASE setIdObligacion()      Sets the current record's "id_obligacion" value
 * @method TS_MODIFICA_CLASE setSecuencia()         Sets the current record's "secuencia" value
 * @method TS_MODIFICA_CLASE setIdVigencia()        Sets the current record's "id_vigencia" value
 * @method TS_MODIFICA_CLASE setAnoFiscal()         Sets the current record's "ano_fiscal" value
 * @method TS_MODIFICA_CLASE setIdCpIni()           Sets the current record's "id_cp_ini" value
 * @method TS_MODIFICA_CLASE setIdCpFin()           Sets the current record's "id_cp_fin" value
 * @method TS_MODIFICA_CLASE setUsuario()           Sets the current record's "usuario" value
 * @method TS_MODIFICA_CLASE setFechalog()          Sets the current record's "fechalog" value
 * @method TS_MODIFICA_CLASE setObservaciones()     Sets the current record's "observaciones" 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_MODIFICA_CLASE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_MODIFICA_CLASE');
        $this->hasColumn('id_modifica_clase', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('id_cp_ini', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cp_fin', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

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