<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CA_COMPETENCIA_ADMIN', 'doctrine');

/**
 * BaseCA_COMPETENCIA_ADMIN
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_competencia
 * @property string $nombre
 * @property string $num_doc
 * @property integer $id_departamento
 * @property integer $activo
 * @property RMN_DEPARTAMENTO $RMN_DEPARTAMENTO
 * @property Doctrine_Collection $RMN_SOLICITUD
 * @property Doctrine_Collection $IN_TITULO_COMPETENCIA
 * @property Doctrine_Collection $CA_USUARIO_COMPETENCIA
 * @property Doctrine_Collection $CA_LIQ_CANON
 * 
 * @method integer             getIdCompetencia()          Returns the current record's "id_competencia" value
 * @method string              getNombre()                 Returns the current record's "nombre" value
 * @method string              getNumDoc()                 Returns the current record's "num_doc" value
 * @method integer             getIdDepartamento()         Returns the current record's "id_departamento" value
 * @method integer             getActivo()                 Returns the current record's "activo" value
 * @method RMN_DEPARTAMENTO    getRMNDEPARTAMENTO()        Returns the current record's "RMN_DEPARTAMENTO" value
 * @method Doctrine_Collection getRMNSOLICITUD()           Returns the current record's "RMN_SOLICITUD" collection
 * @method Doctrine_Collection getINTITULOCOMPETENCIA()    Returns the current record's "IN_TITULO_COMPETENCIA" collection
 * @method Doctrine_Collection getCAUSUARIOCOMPETENCIA()   Returns the current record's "CA_USUARIO_COMPETENCIA" collection
 * @method Doctrine_Collection getCALIQCANON()             Returns the current record's "CA_LIQ_CANON" collection
 * @method CA_COMPETENCIA_ADMIN     setIdCompetencia()          Sets the current record's "id_competencia" value
 * @method CA_COMPETENCIA_ADMIN     setNombre()                 Sets the current record's "nombre" value
 * @method CA_COMPETENCIA_ADMIN     setNumDoc()                 Sets the current record's "num_doc" value
 * @method CA_COMPETENCIA_ADMIN     setIdDepartamento()         Sets the current record's "id_departamento" value
 * @method CA_COMPETENCIA_ADMIN     setActivo()                 Sets the current record's "activo" value
 * @method CA_COMPETENCIA_ADMIN     setRMNDEPARTAMENTO()        Sets the current record's "RMN_DEPARTAMENTO" value
 * @method CA_COMPETENCIA_ADMIN     setRMNSOLICITUD()           Sets the current record's "RMN_SOLICITUD" collection
 * @method CA_COMPETENCIA_ADMIN     setINTITULOCOMPETENCIA()    Sets the current record's "IN_TITULO_COMPETENCIA" collection
 * @method CA_COMPETENCIA_ADMIN     setCAUSUARIOCOMPETENCIA()   Sets the current record's "CA_USUARIO_COMPETENCIA" collection
 * @method CA_COMPETENCIA_ADMIN     setCALIQCANON()             Sets the current record's "CA_LIQ_CANON" collection
 * 
 * @package    canon
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_COMPETENCIA_ADMIN extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CA_COMPETENCIA_ADMIN');
        $this->hasColumn('id_competencia_admin', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('id_competencia', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('email', 'string', 256, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 256,
        ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0 ',
            'primary' => false,
            'length' => 1,
        ));
    }

    public function setUp() {
        
    }

}
