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

/**
 * BaseCBR_ABONO_CONCEPTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_abono_concepto
 * @property integer $id_registro_concepto
 * @property integer $numero
 * @property timestamp $fecha_abono
 * @property integer $valor_abono
 * @property CBR_REGISTRO_CONCEPTO $CBR_REGISTRO_CONCEPTO
 * 
 * @method integer               getIdAbonoConcepto()       Returns the current record's "id_abono_concepto" value
 * @method integer               getIdRegistroConcepto()    Returns the current record's "id_registro_concepto" value
 * @method integer               getNumero()                Returns the current record's "numero" value
 * @method timestamp             getFechaAbono()            Returns the current record's "fecha_abono" value
 * @method integer               getValorAbono()            Returns the current record's "valor_abono" value
 * @method CBR_REGISTRO_CONCEPTO getCBRREGISTROCONCEPTO()   Returns the current record's "CBR_REGISTRO_CONCEPTO" value
 * @method CBR_ABONO_CONCEPTO    setIdAbonoConcepto()       Sets the current record's "id_abono_concepto" value
 * @method CBR_ABONO_CONCEPTO    setIdRegistroConcepto()    Sets the current record's "id_registro_concepto" value
 * @method CBR_ABONO_CONCEPTO    setNumero()                Sets the current record's "numero" value
 * @method CBR_ABONO_CONCEPTO    setFechaAbono()            Sets the current record's "fecha_abono" value
 * @method CBR_ABONO_CONCEPTO    setValorAbono()            Sets the current record's "valor_abono" value
 * @method CBR_ABONO_CONCEPTO    setCBRREGISTROCONCEPTO()   Sets the current record's "CBR_REGISTRO_CONCEPTO" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_ABONO_CONCEPTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_ABONO_CONCEPTO');
        $this->hasColumn('id_abono_concepto', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_registro_concepto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_abono', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_abono', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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