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

/**
 * BaseRVC_NOVEDAD_EMBARGO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_novedad_embargo
 * @property integer $id_contrato
 * @property integer $id_contratista
 * @property timestamp $fecha_log
 * @property string $usuario_log
 * @property string $numero_doc
 * @property timestamp $fecha_doc
 * @property timestamp $fecha_embargo
 * @property string $observacion
 * @property integer $valor_mensual
 * @property integer $valor_total
 * @property string $adjunto
 * 
 * @method integer             getIdNovedadEmbargo()   Returns the current record's "id_novedad_embargo" value
 * @method integer             getIdContrato()         Returns the current record's "id_contrato" value
 * @method integer             getIdContratista()      Returns the current record's "id_contratista" value
 * @method timestamp           getFechaLog()           Returns the current record's "fecha_log" value
 * @method string              getUsuarioLog()         Returns the current record's "usuario_log" value
 * @method string              getNumeroDoc()          Returns the current record's "numero_doc" value
 * @method timestamp           getFechaDoc()           Returns the current record's "fecha_doc" value
 * @method timestamp           getFechaEmbargo()       Returns the current record's "fecha_embargo" value
 * @method string              getObservacion()        Returns the current record's "observacion" value
 * @method integer             getValorMensual()       Returns the current record's "valor_mensual" value
 * @method integer             getValorTotal()         Returns the current record's "valor_total" value
 * @method string              getAdjunto()            Returns the current record's "adjunto" value
 * @method RVC_NOVEDAD_EMBARGO setIdNovedadEmbargo()   Sets the current record's "id_novedad_embargo" value
 * @method RVC_NOVEDAD_EMBARGO setIdContrato()         Sets the current record's "id_contrato" value
 * @method RVC_NOVEDAD_EMBARGO setIdContratista()      Sets the current record's "id_contratista" value
 * @method RVC_NOVEDAD_EMBARGO setFechaLog()           Sets the current record's "fecha_log" value
 * @method RVC_NOVEDAD_EMBARGO setUsuarioLog()         Sets the current record's "usuario_log" value
 * @method RVC_NOVEDAD_EMBARGO setNumeroDoc()          Sets the current record's "numero_doc" value
 * @method RVC_NOVEDAD_EMBARGO setFechaDoc()           Sets the current record's "fecha_doc" value
 * @method RVC_NOVEDAD_EMBARGO setFechaEmbargo()       Sets the current record's "fecha_embargo" value
 * @method RVC_NOVEDAD_EMBARGO setObservacion()        Sets the current record's "observacion" value
 * @method RVC_NOVEDAD_EMBARGO setValorMensual()       Sets the current record's "valor_mensual" value
 * @method RVC_NOVEDAD_EMBARGO setValorTotal()         Sets the current record's "valor_total" value
 * @method RVC_NOVEDAD_EMBARGO setAdjunto()            Sets the current record's "adjunto" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseRVC_NOVEDAD_EMBARGO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RVC_NOVEDAD_EMBARGO');
        $this->hasColumn('id_novedad_embargo', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_contrato', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_contratista', '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,
             'default' => 'sysdate ',
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario_log', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numero_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_embargo', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observacion', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('valor_mensual', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_total', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('adjunto', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '1 ',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
            'notnull' => false,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('motivo_anu', 'string', 2000, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 2000,
        ));
    }

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