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

/**
 * BasePRAVANSAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_mae_ter
 * @property integer $nitocc
 * @property integer $id_rp
 * @property timestamp $fecha_rp
 * @property timestamp $f_cierre
 * 
 * @method integer    getId()         Returns the current record's "id" value
 * @method integer    getIdMaeTer()   Returns the current record's "id_mae_ter" value
 * @method integer    getNitocc()     Returns the current record's "nitocc" value
 * @method integer    getIdRp()       Returns the current record's "id_rp" value
 * @method timestamp  getFechaRp()    Returns the current record's "fecha_rp" value
 * @method timestamp  getFCierre()    Returns the current record's "f_cierre" value
 * @method PRAVANSAFI setId()         Sets the current record's "id" value
 * @method PRAVANSAFI setIdMaeTer()   Sets the current record's "id_mae_ter" value
 * @method PRAVANSAFI setNitocc()     Sets the current record's "nitocc" value
 * @method PRAVANSAFI setIdRp()       Sets the current record's "id_rp" value
 * @method PRAVANSAFI setFechaRp()    Sets the current record's "fecha_rp" value
 * @method PRAVANSAFI setFCierre()    Sets the current record's "f_cierre" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePRAVANSAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PRAVANSAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nitocc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_rp', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('f_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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