<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('CA_RECIBO_SOLICITUD', 'doctrine');

/**
 * BaseCA_RECIBO_SOLICITUD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_recibo_solicitud
 * @property string $cod_expediente
 * @property integer $id_modalidad
 * @property integer $id_etapa
 * @property integer $valor
 * @property timestamp $fecha_exped_rec
 * @property timestamp $fecha_vence_rec
 * @property timestamp $fecha_notificacion
 * @property integer $pago
 * @property integer $canon
 * @property integer $area
 * @property integer $vigencia
 * @property integer $num_recibo
 * 
 * @method integer             getIdReciboSolicitud()   Returns the current record's "id_recibo_solicitud" value
 * @method string              getCodExpediente()       Returns the current record's "cod_expediente" value
 * @method integer             getIdModalidad()         Returns the current record's "id_modalidad" value
 * @method integer             getIdEtapa()             Returns the current record's "id_etapa" value
 * @method integer             getValor()               Returns the current record's "valor" value
 * @method timestamp           getFechaExpedRec()       Returns the current record's "fecha_exped_rec" value
 * @method timestamp           getFechaVenceRec()       Returns the current record's "fecha_vence_rec" value
 * @method timestamp           getFechaNotificacion()   Returns the current record's "fecha_notificacion" value
 * @method integer             getPago()                Returns the current record's "pago" value
 * @method integer             getCanon()               Returns the current record's "canon" value
 * @method integer             getArea()                Returns the current record's "area" value
 * @method integer             getVigencia()            Returns the current record's "vigencia" value
 * @method integer             getNumRecibo()           Returns the current record's "num_recibo" value
 * @method CA_RECIBO_SOLICITUD setIdReciboSolicitud()   Sets the current record's "id_recibo_solicitud" value
 * @method CA_RECIBO_SOLICITUD setCodExpediente()       Sets the current record's "cod_expediente" value
 * @method CA_RECIBO_SOLICITUD setIdModalidad()         Sets the current record's "id_modalidad" value
 * @method CA_RECIBO_SOLICITUD setIdEtapa()             Sets the current record's "id_etapa" value
 * @method CA_RECIBO_SOLICITUD setValor()               Sets the current record's "valor" value
 * @method CA_RECIBO_SOLICITUD setFechaExpedRec()       Sets the current record's "fecha_exped_rec" value
 * @method CA_RECIBO_SOLICITUD setFechaVenceRec()       Sets the current record's "fecha_vence_rec" value
 * @method CA_RECIBO_SOLICITUD setFechaNotificacion()   Sets the current record's "fecha_notificacion" value
 * @method CA_RECIBO_SOLICITUD setPago()                Sets the current record's "pago" value
 * @method CA_RECIBO_SOLICITUD setCanon()               Sets the current record's "canon" value
 * @method CA_RECIBO_SOLICITUD setArea()                Sets the current record's "area" value
 * @method CA_RECIBO_SOLICITUD setVigencia()            Sets the current record's "vigencia" value
 * @method CA_RECIBO_SOLICITUD setNumRecibo()           Sets the current record's "num_recibo" value
 * 
 * @package    canon
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_RECIBO_SOLICITUD extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CA_RECIBO_SOLICITUD');
        $this->hasColumn('id_recibo_solicitud', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('cod_expediente', 'string', 50, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 50,
        ));
        $this->hasColumn('id_modalidad', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('id_etapa', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('valor', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('fecha_exped_rec', 'timestamp', 7, array(
            'notnull' => false,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('fecha_vence_rec', 'timestamp', 7, array(
            'notnull' => false,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('fecha_notificacion', 'timestamp', 7, array(
            'notnull' => false,
            'type' => 'timestamp',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 7,
        ));
        $this->hasColumn('pago', 'integer', 1, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('canon', 'integer', 1, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('area', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('vigencia', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('num_recibo', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('id_det_plan_not', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('area', 'decimal', 18, array(
            'notnull' => false,
            'type' => 'decimal',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 18,
        ));
        $this->hasColumn('id_norma', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 8,
        ));
        $this->hasColumn('cod_bar', 'string', 150, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 150,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
    }

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

}