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

/**
 * BaseRE_MINERAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_mineral
 * @property string $cod_mineral
 * @property string $descripcion
 * @property integer $id_ts_bc
 * @property integer $id_ts_cb
 * @property integer $estado
 * 
 * @method integer    getIdMineral()   Returns the current record's "id_mineral" value
 * @method string     getCodMineral()  Returns the current record's "cod_mineral" value
 * @method string     getDescripcion() Returns the current record's "descripcion" value
 * @method integer    getIdTsBc()      Returns the current record's "id_ts_bc" value
 * @method integer    getIdTsCb()      Returns the current record's "id_ts_cb" value
 * @method integer    getEstado()      Returns the current record's "estado" value
 * @method RE_MINERAL setIdMineral()   Sets the current record's "id_mineral" value
 * @method RE_MINERAL setCodMineral()  Sets the current record's "cod_mineral" value
 * @method RE_MINERAL setDescripcion() Sets the current record's "descripcion" value
 * @method RE_MINERAL setIdTsBc()      Sets the current record's "id_ts_bc" value
 * @method RE_MINERAL setIdTsCb()      Sets the current record's "id_ts_cb" value
 * @method RE_MINERAL 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 BaseRE_MINERAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_MINERAL');
        $this->hasColumn('id_mineral', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('cod_mineral', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_bc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_cb', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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