<?php

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

/**
 * BaseCBR_AVOCA_CONOC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_avoca_conoc
 * @property integer $id_remision_titulo
 * @property string $no_oficio
 * @property timestamp $fecha
 * @property string $observaciones
 * @property string $adjunto
 * @property CBR_REMISION_TITULO $CBR_REMISION_TITULO
 * 
 * @method integer             getIdAvocaConoc()        Returns the current record's "id_avoca_conoc" value
 * @method integer             getIdRemisionTitulo()    Returns the current record's "id_remision_titulo" value
 * @method string              getNoOficio()            Returns the current record's "no_oficio" value
 * @method timestamp           getFecha()               Returns the current record's "fecha" value
 * @method string              getObservaciones()       Returns the current record's "observaciones" value
 * @method string              getAdjunto()             Returns the current record's "adjunto" value
 * @method CBR_REMISION_TITULO getCBRREMISIONTITULO()   Returns the current record's "CBR_REMISION_TITULO" value
 * @method CBR_AVOCA_CONOC     setIdAvocaConoc()        Sets the current record's "id_avoca_conoc" value
 * @method CBR_AVOCA_CONOC     setIdRemisionTitulo()    Sets the current record's "id_remision_titulo" value
 * @method CBR_AVOCA_CONOC     setNoOficio()            Sets the current record's "no_oficio" value
 * @method CBR_AVOCA_CONOC     setFecha()               Sets the current record's "fecha" value
 * @method CBR_AVOCA_CONOC     setObservaciones()       Sets the current record's "observaciones" value
 * @method CBR_AVOCA_CONOC     setAdjunto()             Sets the current record's "adjunto" value
 * @method CBR_AVOCA_CONOC     setCBRREMISIONTITULO()   Sets the current record's "CBR_REMISION_TITULO" 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_AVOCA_CONOC extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CBR_AVOCA_CONOC');
        $this->hasColumn('id_avoca_conoc', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('no_auto', 'integer', 20, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 150,
        ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('observaciones', 'string', 500, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 500,
        ));
        $this->hasColumn('adjunto', 'string', 150, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 150,
        ));
        $this->hasColumn('detalle', 'clob', 4000, array(
            'notnull' => true,
            'type' => 'clob',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 4000,
        ));
        $this->hasColumn('id_plantilla', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('id_tipo_documento', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $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,
        ));
        $this->hasColumn('fecha_aprueba', 'timestamp', 7, array(
            'notnull' => true,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('usuario_aprueba', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
    }

    public function setUp() {
        
    }

}
