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

/**
 * BaseCBR_ABROP_DENEG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_aprob_deneg
 * @property timestamp $fecha
 * @property string $observaciones
 * @property string $adjunto
 * 
 * @method integer         getIdAprobDeneg()     Returns the current record's "id_aprob_deneg" value
 * @method timestamp       getFecha()            Returns the current record's "fecha" value
 * @method string          getObservaciones()    Returns the current record's "observaciones" value
 * @method string          getAdjunto()          Returns the current record's "adjunto" value
 * @method CBR_ABROP_DENEG setIdAprobDeneg()     Sets the current record's "id_aprob_deneg" value
 * @method CBR_ABROP_DENEG setFecha()            Sets the current record's "fecha" value
 * @method CBR_ABROP_DENEG setObservaciones()    Sets the current record's "observaciones" value
 * @method CBR_ABROP_DENEG setAdjunto()          Sets the current record's "adjunto" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_CHEQUEO_DOCU_FP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_CHEQUEO_DOCU_FP');
        $this->hasColumn('id_chequeo_docu_fp', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_facilidad_pago', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_documentos', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('recibido', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('CBR_REMISION_TITULO', array(
             'local' => 'id_remision_titulo',
             'foreign' => 'id_remision_titulo'));
    }
}
