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

/**
 * BaseTS_DIS_REG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_dis_reg
 * @property timestamp $fecha_proc
 * @property integer $id_dis_val
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $id_mineral
 * @property integer $id_t_ctr
 * @property integer $id_periodo
 * @property timestamp $vigencia
 * @property string $concepto
 * @property string $produccion
 * @property string $precio
 * @property string $porcentaje
 * @property string $distribucion
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property integer $estado
 * 
 * @method integer    getIdDisReg()     Returns the current record's "id_dis_reg" value
 * @method timestamp  getFechaProc()    Returns the current record's "fecha_proc" value
 * @method integer    getIdDisVal()     Returns the current record's "id_dis_val" 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    getIdTCtr()       Returns the current record's "id_t_ctr" value
 * @method integer    getIdPeriodo()    Returns the current record's "id_periodo" value
 * @method timestamp  getVigencia()     Returns the current record's "vigencia" value
 * @method string     getConcepto()     Returns the current record's "concepto" value
 * @method string     getProduccion()   Returns the current record's "produccion" value
 * @method string     getPrecio()       Returns the current record's "precio" value
 * @method string     getPorcentaje()   Returns the current record's "porcentaje" value
 * @method string     getDistribucion() Returns the current record's "distribucion" 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 TS_DIS_REG setIdDisReg()     Sets the current record's "id_dis_reg" value
 * @method TS_DIS_REG setFechaProc()    Sets the current record's "fecha_proc" value
 * @method TS_DIS_REG setIdDisVal()     Sets the current record's "id_dis_val" value
 * @method TS_DIS_REG setIdBn()         Sets the current record's "id_bn" value
 * @method TS_DIS_REG setIdCb()         Sets the current record's "id_cb" value
 * @method TS_DIS_REG setIdMineral()    Sets the current record's "id_mineral" value
 * @method TS_DIS_REG setIdTCtr()       Sets the current record's "id_t_ctr" value
 * @method TS_DIS_REG setIdPeriodo()    Sets the current record's "id_periodo" value
 * @method TS_DIS_REG setVigencia()     Sets the current record's "vigencia" value
 * @method TS_DIS_REG setConcepto()     Sets the current record's "concepto" value
 * @method TS_DIS_REG setProduccion()   Sets the current record's "produccion" value
 * @method TS_DIS_REG setPrecio()       Sets the current record's "precio" value
 * @method TS_DIS_REG setPorcentaje()   Sets the current record's "porcentaje" value
 * @method TS_DIS_REG setDistribucion() Sets the current record's "distribucion" value
 * @method TS_DIS_REG setFechaSys()     Sets the current record's "fecha_sys" value
 * @method TS_DIS_REG setUsuario()      Sets the current record's "usuario" value
 * @method TS_DIS_REG 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_DIS_REG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_DIS_REG');
        $this->hasColumn('id_dis_reg', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_dis_val', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_bn', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mineral', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_t_ctr', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('concepto', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('produccion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('precio', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('porcentaje', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('distribucion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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