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

/**
 * BaseTS_NOV_DEVOL_NO_PRESUP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_nov_devol_no_presup
 * @property integer $id_devol_no_presup
 * @property timestamp $fecha_proc
 * @property decimal $valor
 * @property string $observaciones
 * @property string $usuario
 * @property integer $id_not_teso
 * @property integer $id_credito
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * 
 * @method integer                getIdNovDevolNoPresup()     Returns the current record's "id_nov_devol_no_presup" value
 * @method integer                getIdDevolNoPresup()        Returns the current record's "id_devol_no_presup" value
 * @method timestamp              getFechaProc()              Returns the current record's "fecha_proc" value
 * @method decimal                getValor()                  Returns the current record's "valor" value
 * @method string                 getObservaciones()          Returns the current record's "observaciones" value
 * @method string                 getUsuario()                Returns the current record's "usuario" value
 * @method integer                getIdNotTeso()              Returns the current record's "id_not_teso" value
 * @method integer                getIdCredito()              Returns the current record's "id_credito" value
 * @method integer                getEstado()                 Returns the current record's "estado" value
 * @method timestamp              getFechaAnu()               Returns the current record's "fecha_anu" value
 * @method string                 getMotivoAnu()              Returns the current record's "motivo_anu" value
 * @method TS_NOV_DEVOL_NO_PRESUP setIdNovDevolNoPresup()     Sets the current record's "id_nov_devol_no_presup" value
 * @method TS_NOV_DEVOL_NO_PRESUP setIdDevolNoPresup()        Sets the current record's "id_devol_no_presup" value
 * @method TS_NOV_DEVOL_NO_PRESUP setFechaProc()              Sets the current record's "fecha_proc" value
 * @method TS_NOV_DEVOL_NO_PRESUP setValor()                  Sets the current record's "valor" value
 * @method TS_NOV_DEVOL_NO_PRESUP setObservaciones()          Sets the current record's "observaciones" value
 * @method TS_NOV_DEVOL_NO_PRESUP setUsuario()                Sets the current record's "usuario" value
 * @method TS_NOV_DEVOL_NO_PRESUP setIdNotTeso()              Sets the current record's "id_not_teso" value
 * @method TS_NOV_DEVOL_NO_PRESUP setIdCredito()              Sets the current record's "id_credito" value
 * @method TS_NOV_DEVOL_NO_PRESUP setEstado()                 Sets the current record's "estado" value
 * @method TS_NOV_DEVOL_NO_PRESUP setFechaAnu()               Sets the current record's "fecha_anu" value
 * @method TS_NOV_DEVOL_NO_PRESUP setMotivoAnu()              Sets the current record's "motivo_anu" 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_NOV_DEVOL_NO_PRESUP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_NOV_DEVOL_NO_PRESUP');
        $this->hasColumn('id_nov_devol_no_presup', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_devol_no_presup', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('observaciones', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_not_teso', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_credito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
    }

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