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

/**
 * BaseIN_DETALLE_ASIGNACION_TEMPO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_detalle_asignacion_tempo
 * @property integer $id_detalle_asignacion
 * @property integer $id_asignacion_toma
 * @property integer $id_inventario_dv
 * @property integer $id_estado_elemento
 * @property integer $faltante
 * @property timestamp $fecha_reporte
 * @property string $observacion
 * @property integer $id_partes_inventario
 * @property integer $calificado
 * @property IN_PARTES_INVENTARIO $IN_PARTES_INVENTARIO
 * @property IN_ASIGNACION_TOMA $IN_ASIGNACION_TOMA
 * @property IN_DETALLE_ASIGNACION $IN_DETALLE_ASIGNACION
 * @property IN_ESTADO_ELEMENTO $IN_ESTADO_ELEMENTO
 * @property IN_INVENTARIO_DV $IN_INVENTARIO_DV
 * 
 * @method integer                     getIdDetalleAsignacionTempo()    Returns the current record's "id_detalle_asignacion_tempo" value
 * @method integer                     getIdDetalleAsignacion()         Returns the current record's "id_detalle_asignacion" value
 * @method integer                     getIdAsignacionToma()            Returns the current record's "id_asignacion_toma" value
 * @method integer                     getIdInventarioDv()              Returns the current record's "id_inventario_dv" value
 * @method integer                     getIdEstadoElemento()            Returns the current record's "id_estado_elemento" value
 * @method integer                     getFaltante()                    Returns the current record's "faltante" value
 * @method timestamp                   getFechaReporte()                Returns the current record's "fecha_reporte" value
 * @method string                      getObservacion()                 Returns the current record's "observacion" value
 * @method integer                     getIdPartesInventario()          Returns the current record's "id_partes_inventario" value
 * @method integer                     getCalificado()                  Returns the current record's "calificado" value
 * @method IN_PARTES_INVENTARIO        getINPARTESINVENTARIO()          Returns the current record's "IN_PARTES_INVENTARIO" value
 * @method IN_ASIGNACION_TOMA          getINASIGNACIONTOMA()            Returns the current record's "IN_ASIGNACION_TOMA" value
 * @method IN_DETALLE_ASIGNACION       getINDETALLEASIGNACION()         Returns the current record's "IN_DETALLE_ASIGNACION" value
 * @method IN_ESTADO_ELEMENTO          getINESTADOELEMENTO()            Returns the current record's "IN_ESTADO_ELEMENTO" value
 * @method IN_INVENTARIO_DV            getININVENTARIODV()              Returns the current record's "IN_INVENTARIO_DV" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setIdDetalleAsignacionTempo()    Sets the current record's "id_detalle_asignacion_tempo" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setIdDetalleAsignacion()         Sets the current record's "id_detalle_asignacion" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setIdAsignacionToma()            Sets the current record's "id_asignacion_toma" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setIdInventarioDv()              Sets the current record's "id_inventario_dv" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setIdEstadoElemento()            Sets the current record's "id_estado_elemento" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setFaltante()                    Sets the current record's "faltante" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setFechaReporte()                Sets the current record's "fecha_reporte" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setObservacion()                 Sets the current record's "observacion" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setIdPartesInventario()          Sets the current record's "id_partes_inventario" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setCalificado()                  Sets the current record's "calificado" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setINPARTESINVENTARIO()          Sets the current record's "IN_PARTES_INVENTARIO" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setINASIGNACIONTOMA()            Sets the current record's "IN_ASIGNACION_TOMA" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setINDETALLEASIGNACION()         Sets the current record's "IN_DETALLE_ASIGNACION" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setINESTADOELEMENTO()            Sets the current record's "IN_ESTADO_ELEMENTO" value
 * @method IN_DETALLE_ASIGNACION_TEMPO setININVENTARIODV()              Sets the current record's "IN_INVENTARIO_DV" 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 BaseIN_DETALLE_ASIGNACION_TEMPO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_DETALLE_ASIGNACION_TEMPO');
        $this->hasColumn('id_detalle_asignacion_tempo', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_detalle_asignacion', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_asignacion_toma', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             '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_estado_elemento', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('faltante', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_reporte', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observacion', 'string', 999, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 999,
             ));
        $this->hasColumn('id_partes_inventario', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('calificado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
    }

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

        $this->hasOne('IN_ASIGNACION_TOMA', array(
             'local' => 'id_asignacion_toma',
             'foreign' => 'id_asignacion_toma'));

        $this->hasOne('IN_DETALLE_ASIGNACION', array(
             'local' => 'id_detalle_asignacion',
             'foreign' => 'id_detalle_asignacion'));

        $this->hasOne('IN_ESTADO_ELEMENTO', array(
             'local' => 'id_estado_elemento',
             'foreign' => 'id_estado_elemento'));

        $this->hasOne('IN_INVENTARIO_DV', array(
             'local' => 'id_inventario_dv',
             'foreign' => 'id_inventario_dv'));
    }
}