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

/**
 * BaseIN_APLICA_DETERIORO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_aplica_deterioro
 * @property integer $id_inventario_dv
 * @property timestamp $fecha_nov
 * @property string $observaciones
 * @property integer $aplica_deterioro
 * @property integer $id_usuario
 * @property timestamp $fecha_log
 * 
 * @method integer             getIdAplicaDeterioro()   Returns the current record's "id_aplica_deterioro" value
 * @method integer             getIdInventarioDv()      Returns the current record's "id_inventario_dv" value
 * @method timestamp           getFechaNov()            Returns the current record's "fecha_nov" value
 * @method string              getObservaciones()       Returns the current record's "observaciones" value
 * @method integer             getAplicaDeterioro()     Returns the current record's "aplica_deterioro" value
 * @method integer             getIdUsuario()           Returns the current record's "id_usuario" value
 * @method timestamp           getFechaLog()            Returns the current record's "fecha_log" value
 * @method IN_APLICA_DETERIORO setIdAplicaDeterioro()   Sets the current record's "id_aplica_deterioro" value
 * @method IN_APLICA_DETERIORO setIdInventarioDv()      Sets the current record's "id_inventario_dv" value
 * @method IN_APLICA_DETERIORO setFechaNov()            Sets the current record's "fecha_nov" value
 * @method IN_APLICA_DETERIORO setObservaciones()       Sets the current record's "observaciones" value
 * @method IN_APLICA_DETERIORO setAplicaDeterioro()     Sets the current record's "aplica_deterioro" value
 * @method IN_APLICA_DETERIORO setIdUsuario()           Sets the current record's "id_usuario" value
 * @method IN_APLICA_DETERIORO setFechaLog()            Sets the current record's "fecha_log" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_APLICA_DETERIORO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_APLICA_DETERIORO');
        $this->hasColumn('id_aplica_deterioro', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_inventario_dv', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_nov', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('aplica_deterioro', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_usuario', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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