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

/**
 * BaseIN_PARTES_CLASE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_partes_clase
 * @property integer $id_clase
 * @property integer $id_linea
 * @property string $nombre
 * @property string $descripcion
 * @property decimal $porcentaje
 * @property decimal $valor
 * @property integer $id_catalogo
 * 
 * @method integer         getIdPartesClase()   Returns the current record's "id_partes_clase" value
 * @method integer         getIdClase()         Returns the current record's "id_clase" value
 * @method integer         getIdLinea()         Returns the current record's "id_linea" value
 * @method string          getNombre()          Returns the current record's "nombre" value
 * @method string          getDescripcion()     Returns the current record's "descripcion" value
 * @method decimal         getPorcentaje()      Returns the current record's "porcentaje" value
 * @method decimal         getValor()           Returns the current record's "valor" value
 * @method integer         getIdCatalogo()      Returns the current record's "id_catalogo" value
 * @method IN_PARTES_CLASE setIdPartesClase()   Sets the current record's "id_partes_clase" value
 * @method IN_PARTES_CLASE setIdClase()         Sets the current record's "id_clase" value
 * @method IN_PARTES_CLASE setIdLinea()         Sets the current record's "id_linea" value
 * @method IN_PARTES_CLASE setNombre()          Sets the current record's "nombre" value
 * @method IN_PARTES_CLASE setDescripcion()     Sets the current record's "descripcion" value
 * @method IN_PARTES_CLASE setPorcentaje()      Sets the current record's "porcentaje" value
 * @method IN_PARTES_CLASE setValor()           Sets the current record's "valor" value
 * @method IN_PARTES_CLASE setIdCatalogo()      Sets the current record's "id_catalogo" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_PARTES_CLASE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_PARTES_CLASE');
        $this->hasColumn('id_partes_clase', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_clase', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_linea', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('porcentaje', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('id_catalogo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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