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

/**
 * BaseCBR_APRUEBA_REPARTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_aprueba_reparto
 * @property integer $id_remision_titulo
 * @property timestamp $fecha
 * @property string $observaciones
 * @property string $adjunto
 * @property integer $aprobado
 * 
 * @method integer             getIdApruebaReparto()   Returns the current record's "id_aprueba_reparto" value
 * @method integer             getIdRemisionTitulo()   Returns the current record's "id_remision_titulo" 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 integer             getAprobado()           Returns the current record's "aprobado" value
 * @method CBR_APRUEBA_REPARTO setIdApruebaReparto()   Sets the current record's "id_aprueba_reparto" value
 * @method CBR_APRUEBA_REPARTO setIdRemisionTitulo()   Sets the current record's "id_remision_titulo" value
 * @method CBR_APRUEBA_REPARTO setFecha()              Sets the current record's "fecha" value
 * @method CBR_APRUEBA_REPARTO setObservaciones()      Sets the current record's "observaciones" value
 * @method CBR_APRUEBA_REPARTO setAdjunto()            Sets the current record's "adjunto" value
 * @method CBR_APRUEBA_REPARTO setAprobado()           Sets the current record's "aprobado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_APRUEBA_REPARTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_APRUEBA_REPARTO');
        $this->hasColumn('id_aprueba_reparto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_remision_titulo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             '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('observaciones', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('adjunto', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('aprobado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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