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

/**
 * BaseCBR_REPARTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_reparto
 * @property integer $id_remision_titulo
 * @property integer $id_abogado
 * @property timestamp $fecha_reparto
 * @property string $observaciones
 * @property string $adjunto
 * @property integer $id_estado_proceso
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * 
 * @method integer     getIdReparto()          Returns the current record's "id_reparto" value
 * @method integer     getIdRemisionTitulo()   Returns the current record's "id_remision_titulo" value
 * @method integer     getIdAbogado()          Returns the current record's "id_abogado" value
 * @method timestamp   getFechaReparto()       Returns the current record's "fecha_reparto" value
 * @method string      getObservaciones()      Returns the current record's "observaciones" value
 * @method string      getAdjunto()            Returns the current record's "adjunto" value
 * @method integer     getIdEstadoProceso()    Returns the current record's "id_estado_proceso" value
 * @method integer     getEstado()             Returns the current record's "estado" value
 * @method timestamp   getFechaAnu()           Returns the current record's "fecha_anu" value
 * @method string      getMotivoAnu()          Returns the current record's "motivo_anu" value
 * @method CBR_REPARTO setIdReparto()          Sets the current record's "id_reparto" value
 * @method CBR_REPARTO setIdRemisionTitulo()   Sets the current record's "id_remision_titulo" value
 * @method CBR_REPARTO setIdAbogado()          Sets the current record's "id_abogado" value
 * @method CBR_REPARTO setFechaReparto()       Sets the current record's "fecha_reparto" value
 * @method CBR_REPARTO setObservaciones()      Sets the current record's "observaciones" value
 * @method CBR_REPARTO setAdjunto()            Sets the current record's "adjunto" value
 * @method CBR_REPARTO setIdEstadoProceso()    Sets the current record's "id_estado_proceso" value
 * @method CBR_REPARTO setEstado()             Sets the current record's "estado" value
 * @method CBR_REPARTO setFechaAnu()           Sets the current record's "fecha_anu" value
 * @method CBR_REPARTO setMotivoAnu()          Sets the current record's "motivo_anu" 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_REPARTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_REPARTO');
        $this->hasColumn('id_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('id_abogado', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_reparto', '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('id_estado_proceso', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
    }

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