<?php

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

/**
 * BaseCA_PROFESIONAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_profesional
 * @property integer $id_usuario
 * @property integer $estado
 * @property Doctrine_Collection $CA_PROFESIONAL
 * 
 * @method integer             getIdAbogado()           Returns the current record's "id_profesional" value
 * @method integer             getIdMaeTer()            Returns the current record's "id_usuario" value
 * @method integer             getEstado()              Returns the current record's "estado" value
 * @method Doctrine_Collection getCAPROFESIONAL()   Returns the current record's "CA_PROFESIONAL" collection
 * @method CA_PROFESIONAL          setIdAbogado()           Sets the current record's "id_profesional" value
 * @method CA_PROFESIONAL          setIdMaeTer()            Sets the current record's "id_usuario" value
 * @method CA_PROFESIONAL          setEstado()              Sets the current record's "estado" value
 * @method CA_PROFESIONAL          setCAPROFESIONAL()   Sets the current record's "CA_PROFESIONAL" collection
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_PROFESIONAL extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CA_PROFESIONAL');
        $this->hasColumn('id_profesional', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('id_usuario', 'integer', 20, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
    }

    public function setUp() {
        parent::setUp();
    }

}
