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

/**
 * BaseCA_CANCEL_DEUDOR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cancel_deudor
 * @property integer $nitocc
 * @property integer $dv
 * @property string $razsoc
 * @property string $tipodoc
 * @property integer $numdoc
 * @property timestamp $fecdoc
 * @property timestamp $fecnov
 * @property string $docnov
 * @property decimal $valor
 * @property decimal $saldo
 * @property string $periodo
 * 
 * @method integer          getIdCancelDeudor()   Returns the current record's "id_cancel_deudor" 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 string           getTipodoc()          Returns the current record's "tipodoc" value
 * @method integer          getNumdoc()           Returns the current record's "numdoc" value
 * @method timestamp        getFecdoc()           Returns the current record's "fecdoc" value
 * @method timestamp        getFecnov()           Returns the current record's "fecnov" value
 * @method string           getDocnov()           Returns the current record's "docnov" value
 * @method decimal          getValor()            Returns the current record's "valor" value
 * @method decimal          getSaldo()            Returns the current record's "saldo" value
 * @method string           getPeriodo()          Returns the current record's "periodo" value
 * @method CA_CANCEL_DEUDOR setIdCancelDeudor()   Sets the current record's "id_cancel_deudor" value
 * @method CA_CANCEL_DEUDOR setNitocc()           Sets the current record's "nitocc" value
 * @method CA_CANCEL_DEUDOR setDv()               Sets the current record's "dv" value
 * @method CA_CANCEL_DEUDOR setRazsoc()           Sets the current record's "razsoc" value
 * @method CA_CANCEL_DEUDOR setTipodoc()          Sets the current record's "tipodoc" value
 * @method CA_CANCEL_DEUDOR setNumdoc()           Sets the current record's "numdoc" value
 * @method CA_CANCEL_DEUDOR setFecdoc()           Sets the current record's "fecdoc" value
 * @method CA_CANCEL_DEUDOR setFecnov()           Sets the current record's "fecnov" value
 * @method CA_CANCEL_DEUDOR setDocnov()           Sets the current record's "docnov" value
 * @method CA_CANCEL_DEUDOR setValor()            Sets the current record's "valor" value
 * @method CA_CANCEL_DEUDOR setSaldo()            Sets the current record's "saldo" value
 * @method CA_CANCEL_DEUDOR setPeriodo()          Sets the current record's "periodo" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_CANCEL_DEUDOR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CANCEL_DEUDOR');
        $this->hasColumn('id_cancel_deudor', '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('tipodoc', 'string', 2, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2,
             ));
        $this->hasColumn('numdoc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecdoc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecnov', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('docnov', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('periodo', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
    }

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