<?php

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

/**
 * BaseCA_ACTUALIZA_PROFESIONAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_actualiza_profesional
 * @property integer $id_titulo
 * @property integer $id_profesional_ant
 * @property integer $id_profesional_nuevo
 * @property timestamp $fecha_modificacion
 * @property integer $id_usuario
 * @property string $motivo_actualiza
 * 
 * @method integer              getId()                   Returns the current record's "id" value
 * @method integer              getIdActualizaAbogado()   Returns the current record's "id_actualiza_profesional" value
 * @method integer              getIdEstudiosPrevios()    Returns the current record's "id_titulo" value
 * @method integer              getIdAbogadoAnt()         Returns the current record's "id_profesional_ant" value
 * @method integer              getIdAbogadoNuevo()       Returns the current record's "id_profesional_nuevo" value
 * @method timestamp            getFechaModificacion()    Returns the current record's "fecha_modificacion" value
 * @method integer              getIdMaeTer()             Returns the current record's "id_usuario" value
 * @method string               getMotivoActualiza()      Returns the current record's "motivo_actualiza" value
 * @method CA_ACTUALIZA_PROFESIONAL setId()                   Sets the current record's "id" value
 * @method CA_ACTUALIZA_PROFESIONAL setIdActualizaAbogado()   Sets the current record's "id_actualiza_profesional" value
 * @method CA_ACTUALIZA_PROFESIONAL setIdEstudiosPrevios()    Sets the current record's "id_titulo" value
 * @method CA_ACTUALIZA_PROFESIONAL setIdAbogadoAnt()         Sets the current record's "id_profesional_ant" value
 * @method CA_ACTUALIZA_PROFESIONAL setIdAbogadoNuevo()       Sets the current record's "id_profesional_nuevo" value
 * @method CA_ACTUALIZA_PROFESIONAL setFechaModificacion()    Sets the current record's "fecha_modificacion" value
 * @method CA_ACTUALIZA_PROFESIONAL setIdMaeTer()             Sets the current record's "id_usuario" value
 * @method CA_ACTUALIZA_PROFESIONAL setMotivoActualiza()      Sets the current record's "motivo_actualiza" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_ACTUALIZA_PROFESIONAL extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CA_ACTUALIZA_PROFESIONAL');
        $this->hasColumn('id_actualiza_profesional', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('id_titulo', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_profesional_ant', 'integer', 20, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_profesional_nuevo', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('fecha_modificacion', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('id_usuario', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('motivo_actualiza', 'string', 1000, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1000,
        ));
    }

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

}
