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

/**
 * BaseTMP_CM_DETALLE3
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $consecmae
 * @property string $linreg
 * @property string $poscat
 * @property string $tipnat
 * @property string $nrodocter
 * @property decimal $valded
 * @property integer $nordpag
 * 
 * @method integer         getId()        Returns the current record's "id" value
 * @method integer         getConsecmae() Returns the current record's "consecmae" value
 * @method string          getLinreg()    Returns the current record's "linreg" value
 * @method string          getPoscat()    Returns the current record's "poscat" value
 * @method string          getTipnat()    Returns the current record's "tipnat" value
 * @method string          getNrodocter() Returns the current record's "nrodocter" value
 * @method decimal         getValded()    Returns the current record's "valded" value
 * @method integer         getNordpag()   Returns the current record's "nordpag" value
 * @method TMP_CM_DETALLE3 setId()        Sets the current record's "id" value
 * @method TMP_CM_DETALLE3 setConsecmae() Sets the current record's "consecmae" value
 * @method TMP_CM_DETALLE3 setLinreg()    Sets the current record's "linreg" value
 * @method TMP_CM_DETALLE3 setPoscat()    Sets the current record's "poscat" value
 * @method TMP_CM_DETALLE3 setTipnat()    Sets the current record's "tipnat" value
 * @method TMP_CM_DETALLE3 setNrodocter() Sets the current record's "nrodocter" value
 * @method TMP_CM_DETALLE3 setValded()    Sets the current record's "valded" value
 * @method TMP_CM_DETALLE3 setNordpag()   Sets the current record's "nordpag" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTMP_CM_DETALLE3 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TMP_CM_DETALLE3');
        $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', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('poscat', 'string', 220, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 220,
             ));
        $this->hasColumn('tipnat', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('nrodocter', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('valded', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nordpag', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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