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

/**
 * BaseCA_LOG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_log
 * @property integer $id_tabla
 * @property integer $id_anho
 * @property integer $vigencia
 * @property integer $id_mae_bd
 * @property integer $periodo
 * @property timestamp $fecha_log
 * @property integer $id_ope_bd
 * @property integer $id_mae_ter
 * @property string $usuario
 * @property integer $id_usuario
 * @property string $comando
 * @property string $cod_func
 * @property string $observacion
 * @property integer $id_punto_venta
 * 
 * @method integer   getId()             Returns the current record's "id" value
 * @method integer   getIdLog()          Returns the current record's "id_log" value
 * @method integer   getIdTabla()        Returns the current record's "id_tabla" value
 * @method integer   getIdAnho()         Returns the current record's "id_anho" value
 * @method integer   getVigencia()       Returns the current record's "vigencia" value
 * @method integer   getIdMaeBd()        Returns the current record's "id_mae_bd" value
 * @method integer   getPeriodo()        Returns the current record's "periodo" value
 * @method timestamp getFechaLog()       Returns the current record's "fecha_log" value
 * @method integer   getIdOpeBd()        Returns the current record's "id_ope_bd" value
 * @method integer   getIdMaeTer()       Returns the current record's "id_mae_ter" value
 * @method string    getUsuario()        Returns the current record's "usuario" value
 * @method integer   getIdUsuario()      Returns the current record's "id_usuario" value
 * @method string    getComando()        Returns the current record's "comando" value
 * @method string    getCodFunc()        Returns the current record's "cod_func" value
 * @method string    getObservacion()    Returns the current record's "observacion" value
 * @method integer   getIdPuntoVenta()   Returns the current record's "id_punto_venta" value
 * @method CA_LOG    setId()             Sets the current record's "id" value
 * @method CA_LOG    setIdLog()          Sets the current record's "id_log" value
 * @method CA_LOG    setIdTabla()        Sets the current record's "id_tabla" value
 * @method CA_LOG    setIdAnho()         Sets the current record's "id_anho" value
 * @method CA_LOG    setVigencia()       Sets the current record's "vigencia" value
 * @method CA_LOG    setIdMaeBd()        Sets the current record's "id_mae_bd" value
 * @method CA_LOG    setPeriodo()        Sets the current record's "periodo" value
 * @method CA_LOG    setFechaLog()       Sets the current record's "fecha_log" value
 * @method CA_LOG    setIdOpeBd()        Sets the current record's "id_ope_bd" value
 * @method CA_LOG    setIdMaeTer()       Sets the current record's "id_mae_ter" value
 * @method CA_LOG    setUsuario()        Sets the current record's "usuario" value
 * @method CA_LOG    setIdUsuario()      Sets the current record's "id_usuario" value
 * @method CA_LOG    setComando()        Sets the current record's "comando" value
 * @method CA_LOG    setCodFunc()        Sets the current record's "cod_func" value
 * @method CA_LOG    setObservacion()    Sets the current record's "observacion" value
 * @method CA_LOG    setIdPuntoVenta()   Sets the current record's "id_punto_venta" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_LOG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_LOG');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_log', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tabla', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_anho', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_bd', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('periodo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_ope_bd', 'integer', 8, array(
             'notnull' => true,
             '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('usuario', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('id_usuario', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('comando', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('cod_func', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('observacion', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('id_punto_venta', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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