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

/**
 * BaseTS_ORD_ENT_PUB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_ord_ent
 * @property string $descripcion
 * @property Doctrine_Collection $INTERCER_DG_JUR
 * 
 * @method integer             getIdOrdEnt()        Returns the current record's "id_ord_ent" value
 * @method string              getDescripcion()     Returns the current record's "descripcion" value
 * @method Doctrine_Collection getINTERCERDGJUR()   Returns the current record's "INTERCER_DG_JUR" collection
 * @method TS_ORD_ENT_PUB      setIdOrdEnt()        Sets the current record's "id_ord_ent" value
 * @method TS_ORD_ENT_PUB      setDescripcion()     Sets the current record's "descripcion" value
 * @method TS_ORD_ENT_PUB      setINTERCERDGJUR()   Sets the current record's "INTERCER_DG_JUR" collection
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_ORD_ENT_PUB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_ORD_ENT_PUB');
        $this->hasColumn('id_ord_ent', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 200, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasMany('INTERCER_DG_JUR', array(
             'local' => 'id_ord_ent',
             'foreign' => 'id_ord_ent'));
    }
}