<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CBR_CHEQUEO_DOCUMENTOS', '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_DOCUMENTOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_CHEQUEO_DOCUMENTOS');
        $this->hasColumn('id_chequeo_documentos', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_remision_titulo_det', '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', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $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'));
    }
}
