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

/**
 * BaseCO_SOLICITUD_TERMINACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_solicitud_terminacion
 * @property integer $id_contrato
 * @property integer $no_solicitud
 * @property integer $no_terminacion
 * @property timestamp $fecha_terminacion_mutuo
 * @property string $fecha_unilateral
 * @property clob $justificacion
 * @property timestamp $fecha_solicitud
 * 
 * @method integer                  getIdSolicitudTerminacion()   Returns the current record's "id_solicitud_terminacion" value
 * @method integer                  getIdContrato()               Returns the current record's "id_contrato" value
 * @method integer                  getNoSolicitud()              Returns the current record's "no_solicitud" value
 * @method integer                  getNoTerminacion()            Returns the current record's "no_terminacion" value
 * @method timestamp                getFechaTerminacionMutuo()    Returns the current record's "fecha_terminacion_mutuo" value
 * @method string                   getFechaUnilateral()          Returns the current record's "fecha_unilateral" value
 * @method clob                     getJustificacion()            Returns the current record's "justificacion" value
 * @method timestamp                getFechaSolicitud()           Returns the current record's "fecha_solicitud" value
 * @method CO_SOLICITUD_TERMINACION setIdSolicitudTerminacion()   Sets the current record's "id_solicitud_terminacion" value
 * @method CO_SOLICITUD_TERMINACION setIdContrato()               Sets the current record's "id_contrato" value
 * @method CO_SOLICITUD_TERMINACION setNoSolicitud()              Sets the current record's "no_solicitud" value
 * @method CO_SOLICITUD_TERMINACION setNoTerminacion()            Sets the current record's "no_terminacion" value
 * @method CO_SOLICITUD_TERMINACION setFechaTerminacionMutuo()    Sets the current record's "fecha_terminacion_mutuo" value
 * @method CO_SOLICITUD_TERMINACION setFechaUnilateral()          Sets the current record's "fecha_unilateral" value
 * @method CO_SOLICITUD_TERMINACION setJustificacion()            Sets the current record's "justificacion" value
 * @method CO_SOLICITUD_TERMINACION setFechaSolicitud()           Sets the current record's "fecha_solicitud" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_SOLICITUD_TERMINACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_SOLICITUD_TERMINACION');
        $this->hasColumn('id_solicitud_terminacion', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_solicitud', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_terminacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_terminacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('unilateral', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('mutuo_acuerdo', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('justificacion', 'clob', 4000, array(
             'notnull' => true,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('fecha_solicitud', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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