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

/**
 * BaseTS_PAC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_pr_catalogo_pac
 * @property integer $id_nivel_agrup
 * @property decimal $valor
 * @property timestamp $fecha
 * @property integer $id_mov_banc
 * @property string $mes
 * 
 * @method integer   getId()                 Returns the current record's "id" value
 * @method integer   getIdPrCatalogoPac()    Returns the current record's "id_pr_catalogo_pac" value
 * @method integer   getIdNivelAgrup()       Returns the current record's "id_nivel_agrup" value
 * @method decimal   getValor()              Returns the current record's "valor" value
 * @method timestamp getFecha()              Returns the current record's "fecha" value
 * @method integer   getIdMovBanc()          Returns the current record's "id_mov_banc" value
 * @method string    getMes()                Returns the current record's "mes" value
 * @method TS_PAC    setId()                 Sets the current record's "id" value
 * @method TS_PAC    setIdPrCatalogoPac()    Sets the current record's "id_pr_catalogo_pac" value
 * @method TS_PAC    setIdNivelAgrup()       Sets the current record's "id_nivel_agrup" value
 * @method TS_PAC    setValor()              Sets the current record's "valor" value
 * @method TS_PAC    setFecha()              Sets the current record's "fecha" value
 * @method TS_PAC    setIdMovBanc()          Sets the current record's "id_mov_banc" value
 * @method TS_PAC    setMes()                Sets the current record's "mes" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_PAC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_PAC');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_pr_catalogo_pac', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_nivel_agrup', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mov_banc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('mes', 'string', 2, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
    }

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