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

/**
 * BaseCA_DESCUENTO_PROD_DET
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_descuento_prod_det
 * @property integer $id_descuento_prod
 * @property integer $id_producto
 * @property integer $porc_desc
 * 
 * @method integer               getIdDescuentoProdDet()    Returns the current record's "id_descuento_prod_det" value
 * @method integer               getIdDescuentoProd()       Returns the current record's "id_descuento_prod" value
 * @method integer               getIdProducto()            Returns the current record's "id_producto" value
 * @method integer               getPorcDesc()              Returns the current record's "porc_desc" value
 * @method CA_DESCUENTO_PROD_DET setIdDescuentoProdDet()    Sets the current record's "id_descuento_prod_det" value
 * @method CA_DESCUENTO_PROD_DET setIdDescuentoProd()       Sets the current record's "id_descuento_prod" value
 * @method CA_DESCUENTO_PROD_DET setIdProducto()            Sets the current record's "id_producto" value
 * @method CA_DESCUENTO_PROD_DET setPorcDesc()              Sets the current record's "porc_desc" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_DESCUENTO_PROD_DET extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_DESCUENTO_PROD_DET');
        $this->hasColumn('id_descuento_prod_det', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_descuento_prod', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_producto', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('porc_desc', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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