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

/**
 * BaseTR_DIS_VAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_dis_val
 * @property string $lote
 * @property integer $id_mae_ter
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $id_mineral
 * @property integer $valor
 * @property integer $des_val
 * @property integer $id_tip_par
 * @property integer $valor_total
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property integer $estado
 * 
 * @method integer    getIdDisVal()    Returns the current record's "id_dis_val" value
 * @method string     getLote()        Returns the current record's "lote" value
 * @method integer    getIdMaeTer()    Returns the current record's "id_mae_ter" value
 * @method integer    getIdBn()        Returns the current record's "id_bn" value
 * @method integer    getIdCb()        Returns the current record's "id_cb" value
 * @method integer    getIdMineral()   Returns the current record's "id_mineral" value
 * @method integer    getValor()       Returns the current record's "valor" value
 * @method integer    getDesVal()      Returns the current record's "des_val" value
 * @method integer    getIdTipPar()    Returns the current record's "id_tip_par" value
 * @method integer    getValorTotal()  Returns the current record's "valor_total" 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 integer    getEstado()      Returns the current record's "estado" value
 * @method TR_DIS_VAL setIdDisVal()    Sets the current record's "id_dis_val" value
 * @method TR_DIS_VAL setLote()        Sets the current record's "lote" value
 * @method TR_DIS_VAL setIdMaeTer()    Sets the current record's "id_mae_ter" value
 * @method TR_DIS_VAL setIdBn()        Sets the current record's "id_bn" value
 * @method TR_DIS_VAL setIdCb()        Sets the current record's "id_cb" value
 * @method TR_DIS_VAL setIdMineral()   Sets the current record's "id_mineral" value
 * @method TR_DIS_VAL setValor()       Sets the current record's "valor" value
 * @method TR_DIS_VAL setDesVal()      Sets the current record's "des_val" value
 * @method TR_DIS_VAL setIdTipPar()    Sets the current record's "id_tip_par" value
 * @method TR_DIS_VAL setValorTotal()  Sets the current record's "valor_total" value
 * @method TR_DIS_VAL setFechaProc()   Sets the current record's "fecha_proc" value
 * @method TR_DIS_VAL setFechaSys()    Sets the current record's "fecha_sys" value
 * @method TR_DIS_VAL setUsuario()     Sets the current record's "usuario" value
 * @method TR_DIS_VAL 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 BaseTR_DIS_VAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TR_DIS_VAL');
        $this->hasColumn('id_dis_val', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('lote', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_bn', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cb', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mineral', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('des_val', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tip_par', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_total', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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