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

/**
 * BaseIN_CENTRO_OPERACION_PREF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cen_op
 * @property string $prefijo
 * @property string $ciudad
 * @property CENTRO_OPERACION $CENTRO_OPERACION
 * 
 * @method integer                  getIdCenOp()          Returns the current record's "id_cen_op" value
 * @method string                   getPrefijo()          Returns the current record's "prefijo" value
 * @method string                   getCiudad()           Returns the current record's "ciudad" value
 * @method CENTRO_OPERACION         getCENTROOPERACION()  Returns the current record's "CENTRO_OPERACION" value
 * @method IN_CENTRO_OPERACION_PREF setIdCenOp()          Sets the current record's "id_cen_op" value
 * @method IN_CENTRO_OPERACION_PREF setPrefijo()          Sets the current record's "prefijo" value
 * @method IN_CENTRO_OPERACION_PREF setCiudad()           Sets the current record's "ciudad" value
 * @method IN_CENTRO_OPERACION_PREF setCENTROOPERACION()  Sets the current record's "CENTRO_OPERACION" 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_CENTRO_OPERACION_PREF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_CENTRO_OPERACION_PREF');
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('prefijo', 'string', 50, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('ciudad', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
    }

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