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

/**
 * BaseCA_DEBITO_REF_RECLASIF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_debito_ref_reclasif
 * @property integer $id_debito
 * @property integer $secuencia
 * @property timestamp $fecha_proceso
 * @property string $usuario_log
 * @property integer $id_referencia1_ant
 * @property integer $id_referencia1_act
 * @property string $id_referencia2_ant
 * @property string $id_referencia2_act
 * @property CA_DEBITO $CA_DEBITO
 * 
 * @method integer                getIdDebitoRefReclasif()    Returns the current record's "id_debito_ref_reclasif" value
 * @method integer                getIdDebito()               Returns the current record's "id_debito" value
 * @method integer                getSecuencia()              Returns the current record's "secuencia" value
 * @method timestamp              getFechaProceso()           Returns the current record's "fecha_proceso" value
 * @method string                 getUsuarioLog()             Returns the current record's "usuario_log" value
 * @method integer                getIdReferencia1Ant()       Returns the current record's "id_referencia1_ant" value
 * @method integer                getIdReferencia1Act()       Returns the current record's "id_referencia1_act" value
 * @method string                 getIdReferencia2Ant()       Returns the current record's "id_referencia2_ant" value
 * @method string                 getIdReferencia2Act()       Returns the current record's "id_referencia2_act" value
 * @method CA_DEBITO              getCADEBITO()               Returns the current record's "CA_DEBITO" value
 * @method CA_DEBITO_REF_RECLASIF setIdDebitoRefReclasif()    Sets the current record's "id_debito_ref_reclasif" value
 * @method CA_DEBITO_REF_RECLASIF setIdDebito()               Sets the current record's "id_debito" value
 * @method CA_DEBITO_REF_RECLASIF setSecuencia()              Sets the current record's "secuencia" value
 * @method CA_DEBITO_REF_RECLASIF setFechaProceso()           Sets the current record's "fecha_proceso" value
 * @method CA_DEBITO_REF_RECLASIF setUsuarioLog()             Sets the current record's "usuario_log" value
 * @method CA_DEBITO_REF_RECLASIF setIdReferencia1Ant()       Sets the current record's "id_referencia1_ant" value
 * @method CA_DEBITO_REF_RECLASIF setIdReferencia1Act()       Sets the current record's "id_referencia1_act" value
 * @method CA_DEBITO_REF_RECLASIF setIdReferencia2Ant()       Sets the current record's "id_referencia2_ant" value
 * @method CA_DEBITO_REF_RECLASIF setIdReferencia2Act()       Sets the current record's "id_referencia2_act" value
 * @method CA_DEBITO_REF_RECLASIF setCADEBITO()               Sets the current record's "CA_DEBITO" 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 BaseCA_DEBITO_REF_RECLASIF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_DEBITO_REF_RECLASIF');
        $this->hasColumn('id_debito_ref_reclasif', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_debito', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('secuencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario_log', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_referencia1_ant', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_referencia1_act', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_referencia2_ant', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_referencia2_act', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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