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

/**
 * BaseIN_INVENTARIO_COOR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_inventario_coor
 * @property integer $id_inventario_dv
 * @property decimal $coordenada_x
 * @property decimal $coordenada_y
 * @property IN_INVENTARIO_DV $IN_INVENTARIO_DV
 * 
 * @method integer            getIdInventarioCoor()   Returns the current record's "id_inventario_coor" value
 * @method integer            getIdInventarioDv()     Returns the current record's "id_inventario_dv" value
 * @method decimal            getCoordenadaX()        Returns the current record's "coordenada_x" value
 * @method decimal            getCoordenadaY()        Returns the current record's "coordenada_y" value
 * @method IN_INVENTARIO_DV   getININVENTARIODV()     Returns the current record's "IN_INVENTARIO_DV" value
 * @method IN_INVENTARIO_COOR setIdInventarioCoor()   Sets the current record's "id_inventario_coor" value
 * @method IN_INVENTARIO_COOR setIdInventarioDv()     Sets the current record's "id_inventario_dv" value
 * @method IN_INVENTARIO_COOR setCoordenadaX()        Sets the current record's "coordenada_x" value
 * @method IN_INVENTARIO_COOR setCoordenadaY()        Sets the current record's "coordenada_y" value
 * @method IN_INVENTARIO_COOR setININVENTARIODV()     Sets the current record's "IN_INVENTARIO_DV" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_INVENTARIO_COOR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_INVENTARIO_COOR');
        $this->hasColumn('id_inventario_coor', 'integer', 8, array(
             '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('coordenada_x', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('coordenada_y', 'decimal', 18, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
    }

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