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

/**
 * BaseTS_OBL_REG_SO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obl_reg_so
 * @property integer $id_obl_reg
 * @property integer $id_r_ley
 * @property decimal $valor_bruto
 * @property decimal $dsctocuatroxmil
 * @property decimal $valor_girar
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property string $vigencia
 * @property integer $estado
 * 
 * @method integer       getIdOblRegSo()      Returns the current record's "id_obl_reg_so" value
 * @method integer       getIdOblReg()        Returns the current record's "id_obl_reg" value
 * @method integer       getIdRLey()          Returns the current record's "id_r_ley" value
 * @method decimal       getValorBruto()      Returns the current record's "valor_bruto" value
 * @method decimal       getDsctocuatroxmil() Returns the current record's "dsctocuatroxmil" value
 * @method decimal       getValorGirar()      Returns the current record's "valor_girar" 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 integer       getEstado()          Returns the current record's "estado" value
 * @method TS_OBL_REG_SO setIdOblRegSo()      Sets the current record's "id_obl_reg_so" value
 * @method TS_OBL_REG_SO setIdOblReg()        Sets the current record's "id_obl_reg" value
 * @method TS_OBL_REG_SO setIdRLey()          Sets the current record's "id_r_ley" value
 * @method TS_OBL_REG_SO setValorBruto()      Sets the current record's "valor_bruto" value
 * @method TS_OBL_REG_SO setDsctocuatroxmil() Sets the current record's "dsctocuatroxmil" value
 * @method TS_OBL_REG_SO setValorGirar()      Sets the current record's "valor_girar" value
 * @method TS_OBL_REG_SO setFechaProc()       Sets the current record's "fecha_proc" value
 * @method TS_OBL_REG_SO setFechaSys()        Sets the current record's "fecha_sys" value
 * @method TS_OBL_REG_SO setUsuario()         Sets the current record's "usuario" value
 * @method TS_OBL_REG_SO setVigencia()        Sets the current record's "vigencia" value
 * @method TS_OBL_REG_SO setEstado()          Sets the current record's "estado" 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_OBL_REG_SO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBL_REG_SO');
        $this->hasColumn('id_obl_reg_so', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obl_reg', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_r_ley', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_bruto', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dsctocuatroxmil', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_girar', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             '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,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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