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

/**
 * BaseIN_TABLE_VIG_SEQ_CEN
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $nom_entidad
 * @property integer $id_cen_op
 * @property integer $id_vigencia
 * @property integer $seq
 * @property CENTRO_OPERACION $CENTRO_OPERACION
 * 
 * @method string               getNomEntidad()       Returns the current record's "nom_entidad" value
 * @method integer              getIdCenOp()          Returns the current record's "id_cen_op" value
 * @method integer              getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method integer              getSeq()              Returns the current record's "seq" value
 * @method CENTRO_OPERACION     getCENTROOPERACION()  Returns the current record's "CENTRO_OPERACION" value
 * @method IN_TABLE_VIG_SEQ_CEN setNomEntidad()       Sets the current record's "nom_entidad" value
 * @method IN_TABLE_VIG_SEQ_CEN setIdCenOp()          Sets the current record's "id_cen_op" value
 * @method IN_TABLE_VIG_SEQ_CEN setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method IN_TABLE_VIG_SEQ_CEN setSeq()              Sets the current record's "seq" value
 * @method IN_TABLE_VIG_SEQ_CEN setCENTROOPERACION()  Sets the current record's "CENTRO_OPERACION" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_TABLE_VIG_SEQ_CEN extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_TABLE_VIG_SEQ_CEN');
        $this->hasColumn('nom_entidad', 'string', 32, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 32,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('seq', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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