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

/**
 * BaseCO_AMPARO_CONT
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_amparo_cont
 * @property integer $id_contrato
 * @property integer $id_garantia_ep
 * @property integer $valor
 * @property timestamp $fecha_ini
 * @property timestamp $vigencia_ini
 * @property timestamp $vigencia_fin
 * @property timestamp $fecha_fin
 * 
 * @method integer        getIdAmparoCont()   Returns the current record's "id_amparo_cont" value
 * @method integer        getIdContrato()     Returns the current record's "id_contrato" value
 * @method integer        getIdGarantiaEp()   Returns the current record's "id_garantia_ep" value
 * @method integer        getValor()          Returns the current record's "valor" value
 * @method timestamp      getFechaIni()       Returns the current record's "fecha_ini" value
 * @method timestamp      getVigenciaIni()    Returns the current record's "vigencia_ini" value
 * @method timestamp      getVigenciaFin()    Returns the current record's "vigencia_fin" value
 * @method timestamp      getFechaFin()       Returns the current record's "fecha_fin" value
 * @method CO_AMPARO_CONT setIdAmparoCont()   Sets the current record's "id_amparo_cont" value
 * @method CO_AMPARO_CONT setIdContrato()     Sets the current record's "id_contrato" value
 * @method CO_AMPARO_CONT setIdGarantiaEp()   Sets the current record's "id_garantia_ep" value
 * @method CO_AMPARO_CONT setValor()          Sets the current record's "valor" value
 * @method CO_AMPARO_CONT setFechaIni()       Sets the current record's "fecha_ini" value
 * @method CO_AMPARO_CONT setVigenciaIni()    Sets the current record's "vigencia_ini" value
 * @method CO_AMPARO_CONT setVigenciaFin()    Sets the current record's "vigencia_fin" value
 * @method CO_AMPARO_CONT setFechaFin()       Sets the current record's "fecha_fin" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_AMPARO_CONT extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_AMPARO_CONT');
        $this->hasColumn('id_amparo_cont', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_contrato', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_garantia_ep', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_ini', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('vigencia_ini', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('vigencia_fin', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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