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

/**
 * BaseCA_DEUDOR_DET
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_deudor_det
 * @property integer $nitocc
 * @property integer $dv
 * @property string $razsoc
 * @property integer $numfac
 * @property timestamp $fecfac
 * @property timestamp $fecven
 * @property integer $diasven
 * @property decimal $vrtotal
 * @property string $tipdoc
 * @property string $observ
 * @property string $concepto
 * @property string $tipdeu
 * @property string $placa_rmn
 * @property string $codcia
 * @property integer $cobro_coactivo
 * 
 * @method integer       getIdDeudorDet()    Returns the current record's "id_deudor_det" value
 * @method integer       getNitocc()         Returns the current record's "nitocc" value
 * @method integer       getDv()             Returns the current record's "dv" value
 * @method string        getRazsoc()         Returns the current record's "razsoc" value
 * @method integer       getNumfac()         Returns the current record's "numfac" value
 * @method timestamp     getFecfac()         Returns the current record's "fecfac" value
 * @method timestamp     getFecven()         Returns the current record's "fecven" value
 * @method integer       getDiasven()        Returns the current record's "diasven" value
 * @method decimal       getVrtotal()        Returns the current record's "vrtotal" value
 * @method string        getTipdoc()         Returns the current record's "tipdoc" value
 * @method string        getObserv()         Returns the current record's "observ" value
 * @method string        getConcepto()       Returns the current record's "concepto" value
 * @method string        getTipdeu()         Returns the current record's "tipdeu" value
 * @method string        getPlacaRmn()       Returns the current record's "placa_rmn" value
 * @method string        getCodcia()         Returns the current record's "codcia" value
 * @method integer       getCobroCoactivo()  Returns the current record's "cobro_coactivo" value
 * @method CA_DEUDOR_DET setIdDeudorDet()    Sets the current record's "id_deudor_det" value
 * @method CA_DEUDOR_DET setNitocc()         Sets the current record's "nitocc" value
 * @method CA_DEUDOR_DET setDv()             Sets the current record's "dv" value
 * @method CA_DEUDOR_DET setRazsoc()         Sets the current record's "razsoc" value
 * @method CA_DEUDOR_DET setNumfac()         Sets the current record's "numfac" value
 * @method CA_DEUDOR_DET setFecfac()         Sets the current record's "fecfac" value
 * @method CA_DEUDOR_DET setFecven()         Sets the current record's "fecven" value
 * @method CA_DEUDOR_DET setDiasven()        Sets the current record's "diasven" value
 * @method CA_DEUDOR_DET setVrtotal()        Sets the current record's "vrtotal" value
 * @method CA_DEUDOR_DET setTipdoc()         Sets the current record's "tipdoc" value
 * @method CA_DEUDOR_DET setObserv()         Sets the current record's "observ" value
 * @method CA_DEUDOR_DET setConcepto()       Sets the current record's "concepto" value
 * @method CA_DEUDOR_DET setTipdeu()         Sets the current record's "tipdeu" value
 * @method CA_DEUDOR_DET setPlacaRmn()       Sets the current record's "placa_rmn" value
 * @method CA_DEUDOR_DET setCodcia()         Sets the current record's "codcia" value
 * @method CA_DEUDOR_DET setCobroCoactivo()  Sets the current record's "cobro_coactivo" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_DEUDOR_DET extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_DEUDOR_DET');
        $this->hasColumn('id_deudor_det', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nitocc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('dv', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('razsoc', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('numfac', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecfac', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecven', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('diasven', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vrtotal', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipdoc', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('observ', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('concepto', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('tipdeu', 'string', 8, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('placa_rmn', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codcia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('cobro_coactivo', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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