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

/**
 * BaseCBR_OFICIO_INCUMPLE_FP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_oficio_incumple_fp
 * @property integer $id_incumple_fp
 * @property integer $id_clasif_oficio
 * @property string $no_radicado
 * @property timestamp $fecha
 * @property string $adjunto
 * @property string $observaciones
 * @property CBR_CLASIF_OFICIO $CBR_CLASIF_OFICIO
 * @property CBR_INCUMPLE_FP $CBR_INCUMPLE_FP
 * 
 * @method integer                getIdOficioIncumpleFp()    Returns the current record's "id_oficio_incumple_fp" value
 * @method integer                getIdIncumpleFp()          Returns the current record's "id_incumple_fp" value
 * @method integer                getIdClasifOficio()        Returns the current record's "id_clasif_oficio" value
 * @method string                 getNoRadicado()            Returns the current record's "no_radicado" value
 * @method timestamp              getFecha()                 Returns the current record's "fecha" value
 * @method string                 getAdjunto()               Returns the current record's "adjunto" value
 * @method string                 getObservaciones()         Returns the current record's "observaciones" value
 * @method CBR_CLASIF_OFICIO      getCBRCLASIFOFICIO()       Returns the current record's "CBR_CLASIF_OFICIO" value
 * @method CBR_INCUMPLE_FP        getCBRINCUMPLEFP()         Returns the current record's "CBR_INCUMPLE_FP" value
 * @method CBR_OFICIO_INCUMPLE_FP setIdOficioIncumpleFp()    Sets the current record's "id_oficio_incumple_fp" value
 * @method CBR_OFICIO_INCUMPLE_FP setIdIncumpleFp()          Sets the current record's "id_incumple_fp" value
 * @method CBR_OFICIO_INCUMPLE_FP setIdClasifOficio()        Sets the current record's "id_clasif_oficio" value
 * @method CBR_OFICIO_INCUMPLE_FP setNoRadicado()            Sets the current record's "no_radicado" value
 * @method CBR_OFICIO_INCUMPLE_FP setFecha()                 Sets the current record's "fecha" value
 * @method CBR_OFICIO_INCUMPLE_FP setAdjunto()               Sets the current record's "adjunto" value
 * @method CBR_OFICIO_INCUMPLE_FP setObservaciones()         Sets the current record's "observaciones" value
 * @method CBR_OFICIO_INCUMPLE_FP setCBRCLASIFOFICIO()       Sets the current record's "CBR_CLASIF_OFICIO" value
 * @method CBR_OFICIO_INCUMPLE_FP setCBRINCUMPLEFP()         Sets the current record's "CBR_INCUMPLE_FP" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_OFICIO_INCUMPLE_FP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_OFICIO_INCUMPLE_FP');
        $this->hasColumn('id_oficio_incumple_fp', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_incumple_fp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_clasif_oficio', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_radicado', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('adjunto', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('usuario_log', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
    }

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

        $this->hasOne('CBR_INCUMPLE_FP', array(
             'local' => 'id_incumple_fp',
             'foreign' => 'id_incumple_fp'));
    }
}