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

/**
 * BaseIN_PARTES_INVENTARIO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_partes_inventario
 * @property integer $id_inventario_dv
 * @property integer $id_partes_clase
 * @property string $serie
 * @property integer $plaqueta
 * @property string $placa
 * @property string $observaciones
 * @property integer $estado
 * @property string $codigo_bar
 * 
 * @method integer              getIdPartesInventario()   Returns the current record's "id_partes_inventario" value
 * @method integer              getIdInventarioDv()       Returns the current record's "id_inventario_dv" value
 * @method integer              getIdPartesClase()        Returns the current record's "id_partes_clase" value
 * @method string               getSerie()                Returns the current record's "serie" value
 * @method integer              getPlaqueta()             Returns the current record's "plaqueta" value
 * @method string               getPlaca()                Returns the current record's "placa" value
 * @method string               getObservaciones()        Returns the current record's "observaciones" value
 * @method integer              getEstado()               Returns the current record's "estado" value
 * @method string               getCodigoBar()            Returns the current record's "codigo_bar" value
 * @method IN_PARTES_INVENTARIO setIdPartesInventario()   Sets the current record's "id_partes_inventario" value
 * @method IN_PARTES_INVENTARIO setIdInventarioDv()       Sets the current record's "id_inventario_dv" value
 * @method IN_PARTES_INVENTARIO setIdPartesClase()        Sets the current record's "id_partes_clase" value
 * @method IN_PARTES_INVENTARIO setSerie()                Sets the current record's "serie" value
 * @method IN_PARTES_INVENTARIO setPlaqueta()             Sets the current record's "plaqueta" value
 * @method IN_PARTES_INVENTARIO setPlaca()                Sets the current record's "placa" value
 * @method IN_PARTES_INVENTARIO setObservaciones()        Sets the current record's "observaciones" value
 * @method IN_PARTES_INVENTARIO setEstado()               Sets the current record's "estado" value
 * @method IN_PARTES_INVENTARIO setCodigoBar()            Sets the current record's "codigo_bar" 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_INVENTARIO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_PARTES_INVENTARIO');
        $this->hasColumn('id_partes_inventario', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_dv', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_partes_clase', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('serie', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('plaqueta', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('placa', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('observaciones', 'string', 800, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 800,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('codigo_bar', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
    }

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