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

/**
 * BaseNO_HISTORIAL_DP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_historial_dp
 * @property integer $id_cen_op_ant
 * @property integer $id_cen_op_n
 * @property string $id_ea_ant
 * @property integer $id_ea_n
 * @property integer $id_periodo
 * @property string $usuario_log
 * @property timestamp $fecha_log
 * @property integer $id_dp
 * 
 * @method integer         getIdHistorialDp()   Returns the current record's "id_historial_dp" value
 * @method integer         getIdCenOpAnt()      Returns the current record's "id_cen_op_ant" value
 * @method integer         getIdCenOpN()        Returns the current record's "id_cen_op_n" value
 * @method string          getIdEaAnt()         Returns the current record's "id_ea_ant" value
 * @method integer         getIdEaN()           Returns the current record's "id_ea_n" value
 * @method integer         getIdPeriodo()       Returns the current record's "id_periodo" value
 * @method string          getUsuarioLog()      Returns the current record's "usuario_log" value
 * @method timestamp       getFechaLog()        Returns the current record's "fecha_log" value
 * @method integer         getIdDp()            Returns the current record's "id_dp" value
 * @method NO_HISTORIAL_DP setIdHistorialDp()   Sets the current record's "id_historial_dp" value
 * @method NO_HISTORIAL_DP setIdCenOpAnt()      Sets the current record's "id_cen_op_ant" value
 * @method NO_HISTORIAL_DP setIdCenOpN()        Sets the current record's "id_cen_op_n" value
 * @method NO_HISTORIAL_DP setIdEaAnt()         Sets the current record's "id_ea_ant" value
 * @method NO_HISTORIAL_DP setIdEaN()           Sets the current record's "id_ea_n" value
 * @method NO_HISTORIAL_DP setIdPeriodo()       Sets the current record's "id_periodo" value
 * @method NO_HISTORIAL_DP setUsuarioLog()      Sets the current record's "usuario_log" value
 * @method NO_HISTORIAL_DP setFechaLog()        Sets the current record's "fecha_log" value
 * @method NO_HISTORIAL_DP setIdDp()            Sets the current record's "id_dp" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_HISTORIAL_DP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_HISTORIAL_DP');
        $this->hasColumn('id_historial_dp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cen_op_ant', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cen_op_n', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ea_ant', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ea_n', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('usuario_log', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_dp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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