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

/**
 * BaseTMP_CM_MAESTRO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $consecmae
 * @property string $numcaja
 * @property string $penleg
 * @property string $natjur
 * @property string $numdocter
 * @property string $tipcxp
 * @property string $clasreg
 * @property string $clasciu
 * @property integer $vr_bruto
 * @property integer $vr_iva
 * @property integer $vr_ded
 * @property string $medpag
 * @property string $cuenban
 * @property string $cheq
 * @property string $tipdocsop
 * @property integer $numdocsop
 * @property timestamp $fechsol
 * @property integer $expedidor
 * @property string $nomfun
 * @property string $carfun
 * @property string $observacion
 * @property string $urldocsop
 * @property string $urldesdocsop
 * @property string $nordpag
 * 
 * @method integer        getId()           Returns the current record's "id" value
 * @method integer        getConsecmae()    Returns the current record's "consecmae" value
 * @method string         getNumcaja()      Returns the current record's "numcaja" value
 * @method string         getPenleg()       Returns the current record's "penleg" value
 * @method string         getNatjur()       Returns the current record's "natjur" value
 * @method string         getNumdocter()    Returns the current record's "numdocter" value
 * @method string         getTipcxp()       Returns the current record's "tipcxp" value
 * @method string         getClasreg()      Returns the current record's "clasreg" value
 * @method string         getClasciu()      Returns the current record's "clasciu" value
 * @method integer        getVrBruto()      Returns the current record's "vr_bruto" value
 * @method integer        getVrIva()        Returns the current record's "vr_iva" value
 * @method integer        getVrDed()        Returns the current record's "vr_ded" value
 * @method string         getMedpag()       Returns the current record's "medpag" value
 * @method string         getCuenban()      Returns the current record's "cuenban" value
 * @method string         getCheq()         Returns the current record's "cheq" value
 * @method string         getTipdocsop()    Returns the current record's "tipdocsop" value
 * @method integer        getNumdocsop()    Returns the current record's "numdocsop" value
 * @method timestamp      getFechsol()      Returns the current record's "fechsol" value
 * @method integer        getExpedidor()    Returns the current record's "expedidor" value
 * @method string         getNomfun()       Returns the current record's "nomfun" value
 * @method string         getCarfun()       Returns the current record's "carfun" value
 * @method string         getObservacion()  Returns the current record's "observacion" value
 * @method string         getUrldocsop()    Returns the current record's "urldocsop" value
 * @method string         getUrldesdocsop() Returns the current record's "urldesdocsop" value
 * @method string         getNordpag()      Returns the current record's "nordpag" value
 * @method TMP_CM_MAESTRO setId()           Sets the current record's "id" value
 * @method TMP_CM_MAESTRO setConsecmae()    Sets the current record's "consecmae" value
 * @method TMP_CM_MAESTRO setNumcaja()      Sets the current record's "numcaja" value
 * @method TMP_CM_MAESTRO setPenleg()       Sets the current record's "penleg" value
 * @method TMP_CM_MAESTRO setNatjur()       Sets the current record's "natjur" value
 * @method TMP_CM_MAESTRO setNumdocter()    Sets the current record's "numdocter" value
 * @method TMP_CM_MAESTRO setTipcxp()       Sets the current record's "tipcxp" value
 * @method TMP_CM_MAESTRO setClasreg()      Sets the current record's "clasreg" value
 * @method TMP_CM_MAESTRO setClasciu()      Sets the current record's "clasciu" value
 * @method TMP_CM_MAESTRO setVrBruto()      Sets the current record's "vr_bruto" value
 * @method TMP_CM_MAESTRO setVrIva()        Sets the current record's "vr_iva" value
 * @method TMP_CM_MAESTRO setVrDed()        Sets the current record's "vr_ded" value
 * @method TMP_CM_MAESTRO setMedpag()       Sets the current record's "medpag" value
 * @method TMP_CM_MAESTRO setCuenban()      Sets the current record's "cuenban" value
 * @method TMP_CM_MAESTRO setCheq()         Sets the current record's "cheq" value
 * @method TMP_CM_MAESTRO setTipdocsop()    Sets the current record's "tipdocsop" value
 * @method TMP_CM_MAESTRO setNumdocsop()    Sets the current record's "numdocsop" value
 * @method TMP_CM_MAESTRO setFechsol()      Sets the current record's "fechsol" value
 * @method TMP_CM_MAESTRO setExpedidor()    Sets the current record's "expedidor" value
 * @method TMP_CM_MAESTRO setNomfun()       Sets the current record's "nomfun" value
 * @method TMP_CM_MAESTRO setCarfun()       Sets the current record's "carfun" value
 * @method TMP_CM_MAESTRO setObservacion()  Sets the current record's "observacion" value
 * @method TMP_CM_MAESTRO setUrldocsop()    Sets the current record's "urldocsop" value
 * @method TMP_CM_MAESTRO setUrldesdocsop() Sets the current record's "urldesdocsop" value
 * @method TMP_CM_MAESTRO 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_MAESTRO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TMP_CM_MAESTRO');
        $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('numcaja', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('penleg', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('natjur', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('numdocter', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('tipcxp', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('clasreg', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('clasciu', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('vr_bruto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vr_iva', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vr_ded', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('medpag', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('cuenban', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('cheq', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('tipdocsop', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numdocsop', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fechsol', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('expedidor', 'integer', 5, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('nomfun', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('carfun', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('observacion', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('urldocsop', 'string', 220, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 220,
             ));
        $this->hasColumn('urldesdocsop', 'string', 220, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 220,
             ));
        $this->hasColumn('nordpag', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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