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

/**
 * BaseLOG_FRENTE_TRAB
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_log
 * @property integer $id_frente_trab
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_cpo
 * @property string $codigo
 * @property string $descripcion
 * @property decimal $valor_asignado
 * @property integer $id_mae_ter
 * @property integer $estado
 * @property timestamp $fechalog
 * @property string $usuariolog
 * 
 * @method integer         getIdLog()          Returns the current record's "id_log" value
 * @method integer         getIdFrenteTrab()   Returns the current record's "id_frente_trab" value
 * @method integer         getIdVigencia()     Returns the current record's "id_vigencia" value
 * @method string          getVigencia()       Returns the current record's "vigencia" value
 * @method integer         getIdCpo()          Returns the current record's "id_cpo" value
 * @method string          getCodigo()         Returns the current record's "codigo" value
 * @method string          getDescripcion()    Returns the current record's "descripcion" value
 * @method decimal         getValorAsignado()  Returns the current record's "valor_asignado" value
 * @method integer         getIdMaeTer()       Returns the current record's "id_mae_ter" value
 * @method integer         getEstado()         Returns the current record's "estado" value
 * @method timestamp       getFechalog()       Returns the current record's "fechalog" value
 * @method string          getUsuariolog()     Returns the current record's "usuariolog" value
 * @method LOG_FRENTE_TRAB setIdLog()          Sets the current record's "id_log" value
 * @method LOG_FRENTE_TRAB setIdFrenteTrab()   Sets the current record's "id_frente_trab" value
 * @method LOG_FRENTE_TRAB setIdVigencia()     Sets the current record's "id_vigencia" value
 * @method LOG_FRENTE_TRAB setVigencia()       Sets the current record's "vigencia" value
 * @method LOG_FRENTE_TRAB setIdCpo()          Sets the current record's "id_cpo" value
 * @method LOG_FRENTE_TRAB setCodigo()         Sets the current record's "codigo" value
 * @method LOG_FRENTE_TRAB setDescripcion()    Sets the current record's "descripcion" value
 * @method LOG_FRENTE_TRAB setValorAsignado()  Sets the current record's "valor_asignado" value
 * @method LOG_FRENTE_TRAB setIdMaeTer()       Sets the current record's "id_mae_ter" value
 * @method LOG_FRENTE_TRAB setEstado()         Sets the current record's "estado" value
 * @method LOG_FRENTE_TRAB setFechalog()       Sets the current record's "fechalog" value
 * @method LOG_FRENTE_TRAB setUsuariolog()     Sets the current record's "usuariolog" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseLOG_FRENTE_TRAB extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('LOG_FRENTE_TRAB');
        $this->hasColumn('id_log', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_frente_trab', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('valor_asignado', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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