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

/**
 * BaseCN_LIBRO_DIARIO_OF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $orden
 * @property string $codigo
 * @property string $comprobante
 * @property timestamp $fecha_cad
 * @property integer $debito
 * @property integer $credito
 * @property integer $id_cia
 * @property integer $id_cen_op
 * @property integer $id_vigencia
 * @property integer $id_periodo_contable
 * 
 * @method integer            getId()                  Returns the current record's "id" value
 * @method integer            getOrden()               Returns the current record's "orden" value
 * @method string             getCodigo()              Returns the current record's "codigo" value
 * @method string             getComprobante()         Returns the current record's "comprobante" value
 * @method timestamp          getFechaCad()            Returns the current record's "fecha_cad" value
 * @method integer            getDebito()              Returns the current record's "debito" value
 * @method integer            getCredito()             Returns the current record's "credito" value
 * @method integer            getIdCia()               Returns the current record's "id_cia" value
 * @method integer            getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer            getIdVigencia()          Returns the current record's "id_vigencia" value
 * @method integer            getIdPeriodoContable()   Returns the current record's "id_periodo_contable" value
 * @method CN_LIBRO_DIARIO_OF setId()                  Sets the current record's "id" value
 * @method CN_LIBRO_DIARIO_OF setOrden()               Sets the current record's "orden" value
 * @method CN_LIBRO_DIARIO_OF setCodigo()              Sets the current record's "codigo" value
 * @method CN_LIBRO_DIARIO_OF setComprobante()         Sets the current record's "comprobante" value
 * @method CN_LIBRO_DIARIO_OF setFechaCad()            Sets the current record's "fecha_cad" value
 * @method CN_LIBRO_DIARIO_OF setDebito()              Sets the current record's "debito" value
 * @method CN_LIBRO_DIARIO_OF setCredito()             Sets the current record's "credito" value
 * @method CN_LIBRO_DIARIO_OF setIdCia()               Sets the current record's "id_cia" value
 * @method CN_LIBRO_DIARIO_OF setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method CN_LIBRO_DIARIO_OF setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method CN_LIBRO_DIARIO_OF setIdPeriodoContable()   Sets the current record's "id_periodo_contable" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_LIBRO_DIARIO_OF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_LIBRO_DIARIO_OF');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('orden', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codigo', 'string', 6, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('comprobante', 'string', 161, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 161,
             ));
        $this->hasColumn('fecha_cad', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('debito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('credito', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo_contable', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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