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

/**
 * BaseTMP_CM_DETALLE1
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $consecmae
 * @property integer $linreg
 * @property string $depafegas
 * @property string $posgas
 * @property string $sitfon
 * @property string $fuenfin
 * @property string $recpres
 * @property decimal $valor
 * @property string $nordpag
 * 
 * @method integer         getId()        Returns the current record's "id" value
 * @method integer         getConsecmae() Returns the current record's "consecmae" value
 * @method integer         getLinreg()    Returns the current record's "linreg" value
 * @method string          getDepafegas() Returns the current record's "depafegas" value
 * @method string          getPosgas()    Returns the current record's "posgas" value
 * @method string          getSitfon()    Returns the current record's "sitfon" value
 * @method string          getFuenfin()   Returns the current record's "fuenfin" value
 * @method string          getRecpres()   Returns the current record's "recpres" value
 * @method decimal         getValor()     Returns the current record's "valor" value
 * @method string          getNordpag()   Returns the current record's "nordpag" value
 * @method TMP_CM_DETALLE1 setId()        Sets the current record's "id" value
 * @method TMP_CM_DETALLE1 setConsecmae() Sets the current record's "consecmae" value
 * @method TMP_CM_DETALLE1 setLinreg()    Sets the current record's "linreg" value
 * @method TMP_CM_DETALLE1 setDepafegas() Sets the current record's "depafegas" value
 * @method TMP_CM_DETALLE1 setPosgas()    Sets the current record's "posgas" value
 * @method TMP_CM_DETALLE1 setSitfon()    Sets the current record's "sitfon" value
 * @method TMP_CM_DETALLE1 setFuenfin()   Sets the current record's "fuenfin" value
 * @method TMP_CM_DETALLE1 setRecpres()   Sets the current record's "recpres" value
 * @method TMP_CM_DETALLE1 setValor()     Sets the current record's "valor" value
 * @method TMP_CM_DETALLE1 setNordpag()   Sets the current record's "nordpag" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTMP_CM_DETALLE1 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TMP_CM_DETALLE1');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('consecmae', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('linreg', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('depafegas', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('posgas', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('sitfon', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('fuenfin', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('recpres', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nordpag', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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