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

/**
 * BaseTS_ACREE_NOMINA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_acree_nomina
 * @property string $vigencia
 * @property string $mes
 * @property integer $periodo
 * @property integer $id_mae_ter
 * @property decimal $valor
 * 
 * @method integer         getIdAcreeNomina()   Returns the current record's "id_acree_nomina" value
 * @method string          getVigencia()        Returns the current record's "vigencia" value
 * @method string          getMes()             Returns the current record's "mes" value
 * @method integer         getPeriodo()         Returns the current record's "periodo" value
 * @method integer         getIdMaeTer()        Returns the current record's "id_mae_ter" value
 * @method decimal         getValor()           Returns the current record's "valor" value
 * @method TS_ACREE_NOMINA setIdAcreeNomina()   Sets the current record's "id_acree_nomina" value
 * @method TS_ACREE_NOMINA setVigencia()        Sets the current record's "vigencia" value
 * @method TS_ACREE_NOMINA setMes()             Sets the current record's "mes" value
 * @method TS_ACREE_NOMINA setPeriodo()         Sets the current record's "periodo" value
 * @method TS_ACREE_NOMINA setIdMaeTer()        Sets the current record's "id_mae_ter" value
 * @method TS_ACREE_NOMINA setValor()           Sets the current record's "valor" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_ACREE_NOMINA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_ACREE_NOMINA');
        $this->hasColumn('id_acree_nomina', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('mes', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('periodo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
    }

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