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

/**
 * BaseCA_CIRCULARIZACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_circularizacion
 * @property integer $id_anhos
 * @property string $id_referencia2
 * @property timestamp $fecha_proceso
 * @property string $observaciones
 * @property string $usuariolog
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_anhos_filtro
 * @property integer $id_meses_filtro
 * @property integer $id_punto_venta
 * @property integer $id_mae_ter
 * @property integer $tope
 * @property string $id_debitos
 * 
 * @method integer            getIdCircularizacion()  Returns the current record's "id_circularizacion" value
 * @method integer            getIdAnhos()            Returns the current record's "id_anhos" value
 * @method string             getIdReferencia2()      Returns the current record's "id_referencia2" value
 * @method timestamp          getFechaProceso()       Returns the current record's "fecha_proceso" value
 * @method string             getObservaciones()      Returns the current record's "observaciones" value
 * @method string             getUsuariolog()         Returns the current record's "usuariolog" value
 * @method integer            getEstado()             Returns the current record's "estado" value
 * @method timestamp          getFechaAnu()           Returns the current record's "fecha_anu" value
 * @method string             getMotivoAnu()          Returns the current record's "motivo_anu" value
 * @method integer            getIdAnhosFiltro()      Returns the current record's "id_anhos_filtro" value
 * @method integer            getIdMesesFiltro()      Returns the current record's "id_meses_filtro" value
 * @method integer            getIdPuntoVenta()       Returns the current record's "id_punto_venta" value
 * @method integer            getIdMaeTer()           Returns the current record's "id_mae_ter" value
 * @method integer            getTope()               Returns the current record's "tope" value
 * @method string             getIdDebitos()          Returns the current record's "id_debitos" value
 * @method CA_CIRCULARIZACION setIdCircularizacion()  Sets the current record's "id_circularizacion" value
 * @method CA_CIRCULARIZACION setIdAnhos()            Sets the current record's "id_anhos" value
 * @method CA_CIRCULARIZACION setIdReferencia2()      Sets the current record's "id_referencia2" value
 * @method CA_CIRCULARIZACION setFechaProceso()       Sets the current record's "fecha_proceso" value
 * @method CA_CIRCULARIZACION setObservaciones()      Sets the current record's "observaciones" value
 * @method CA_CIRCULARIZACION setUsuariolog()         Sets the current record's "usuariolog" value
 * @method CA_CIRCULARIZACION setEstado()             Sets the current record's "estado" value
 * @method CA_CIRCULARIZACION setFechaAnu()           Sets the current record's "fecha_anu" value
 * @method CA_CIRCULARIZACION setMotivoAnu()          Sets the current record's "motivo_anu" value
 * @method CA_CIRCULARIZACION setIdAnhosFiltro()      Sets the current record's "id_anhos_filtro" value
 * @method CA_CIRCULARIZACION setIdMesesFiltro()      Sets the current record's "id_meses_filtro" value
 * @method CA_CIRCULARIZACION setIdPuntoVenta()       Sets the current record's "id_punto_venta" value
 * @method CA_CIRCULARIZACION setIdMaeTer()           Sets the current record's "id_mae_ter" value
 * @method CA_CIRCULARIZACION setTope()               Sets the current record's "tope" value
 * @method CA_CIRCULARIZACION setIdDebitos()          Sets the current record's "id_debitos" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCA_CIRCULARIZACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CIRCULARIZACION');
        $this->hasColumn('id_circularizacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_anhos', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_referencia2', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('id_anhos_filtro', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_meses_filtro', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_punto_venta', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tope', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_debitos', 'string', 200, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

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