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

/**
 * BaseCBR_AUTO_CIERRE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_auto_cierre
 * @property integer $no_auto
 * @property timestamp $fecha
 * @property string $observaciones
 * @property clob $detalle
 * @property integer $id_remision_titulo
 * @property string $adjunto
 * @property integer $id_plantilla
 * @property integer $id_tipo_documento
 * 
 * @method integer         getIdAutoCierre()       Returns the current record's "id_auto_cierre" value
 * @method integer         getNoAuto()             Returns the current record's "no_auto" value
 * @method timestamp       getFecha()              Returns the current record's "fecha" value
 * @method string          getObservaciones()      Returns the current record's "observaciones" value
 * @method clob            getDetalle()            Returns the current record's "detalle" value
 * @method integer         getIdRemisionTitulo()   Returns the current record's "id_remision_titulo" value
 * @method string          getAdjunto()            Returns the current record's "adjunto" value
 * @method integer         getIdPlantilla()        Returns the current record's "id_plantilla" value
 * @method integer         getIdTipoDocumento()    Returns the current record's "id_tipo_documento" value
 * @method CBR_AUTO_CIERRE setIdAutoCierre()       Sets the current record's "id_auto_cierre" value
 * @method CBR_AUTO_CIERRE setNoAuto()             Sets the current record's "no_auto" value
 * @method CBR_AUTO_CIERRE setFecha()              Sets the current record's "fecha" value
 * @method CBR_AUTO_CIERRE setObservaciones()      Sets the current record's "observaciones" value
 * @method CBR_AUTO_CIERRE setDetalle()            Sets the current record's "detalle" value
 * @method CBR_AUTO_CIERRE setIdRemisionTitulo()   Sets the current record's "id_remision_titulo" value
 * @method CBR_AUTO_CIERRE setAdjunto()            Sets the current record's "adjunto" value
 * @method CBR_AUTO_CIERRE setIdPlantilla()        Sets the current record's "id_plantilla" value
 * @method CBR_AUTO_CIERRE setIdTipoDocumento()    Sets the current record's "id_tipo_documento" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_AUTO_CIERRE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_AUTO_CIERRE');
        $this->hasColumn('id_auto_cierre', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('no_auto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('detalle', 'clob', 4000, array(
             'notnull' => false,
             'type' => 'clob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
        $this->hasColumn('id_remision_titulo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('adjunto', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('id_plantilla', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_documento', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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