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

/**
 * BaseTS_ACT_ADMIN_SOPORTE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_clase_act_admin
 * @property integer $id_tipo_soporte
 * @property string $obligatorio
 * @property PR_CLASE_ACT_ADMIN $PR_CLASE_ACT_ADMIN
 * @property TIPO_SOPORTE $TIPO_SOPORTE
 * 
 * @method integer              getId()                 Returns the current record's "id" value
 * @method integer              getIdClaseActAdmin()    Returns the current record's "id_clase_act_admin" value
 * @method integer              getIdTipoSoporte()      Returns the current record's "id_tipo_soporte" value
 * @method string               getObligatorio()        Returns the current record's "obligatorio" value
 * @method PR_CLASE_ACT_ADMIN   getPRCLASEACTADMIN()    Returns the current record's "PR_CLASE_ACT_ADMIN" value
 * @method TIPO_SOPORTE         getTIPOSOPORTE()        Returns the current record's "TIPO_SOPORTE" value
 * @method TS_ACT_ADMIN_SOPORTE setId()                 Sets the current record's "id" value
 * @method TS_ACT_ADMIN_SOPORTE setIdClaseActAdmin()    Sets the current record's "id_clase_act_admin" value
 * @method TS_ACT_ADMIN_SOPORTE setIdTipoSoporte()      Sets the current record's "id_tipo_soporte" value
 * @method TS_ACT_ADMIN_SOPORTE setObligatorio()        Sets the current record's "obligatorio" value
 * @method TS_ACT_ADMIN_SOPORTE setPRCLASEACTADMIN()    Sets the current record's "PR_CLASE_ACT_ADMIN" value
 * @method TS_ACT_ADMIN_SOPORTE setTIPOSOPORTE()        Sets the current record's "TIPO_SOPORTE" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_ACT_ADMIN_SOPORTE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_ACT_ADMIN_SOPORTE');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_clase_act_admin', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_soporte', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('obligatorio', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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

        $this->hasOne('TIPO_SOPORTE', array(
             'local' => 'id_tipo_soporte',
             'foreign' => 'id_tipo_soporte'));
    }
}