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

/**
 * BaseCA_ESTADO_REV
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_norma
 * @property string $descripcion
 * @property timestamp $fecha_vigencia
 * @property integer $estado
 * @property Doctrine_Collection $CA_TITULO_NORMA
 * @property Doctrine_Collection $CA_MODALIDAD_NORMA
 * @property Doctrine_Collection $CA_FORMULA
 * 
 * @method integer             getIdNorma()            Returns the current record's "id_norma" value
 * @method string              getDescripcion()        Returns the current record's "descripcion" value
 * @method timestamp           getFechaVigencia()      Returns the current record's "fecha_vigencia" value
 * @method integer             getEstado()             Returns the current record's "estado" value
 * @method Doctrine_Collection getCATITULONORMA()      Returns the current record's "CA_TITULO_NORMA" collection
 * @method Doctrine_Collection getCAMODALIDADNORMA()   Returns the current record's "CA_MODALIDAD_NORMA" collection
 * @method Doctrine_Collection getCAFORMULA()          Returns the current record's "CA_FORMULA" collection
 * @method CA_ESTADO_REV      setIdNorma()            Sets the current record's "id_norma" value
 * @method CA_ESTADO_REV      setDescripcion()        Sets the current record's "descripcion" value
 * @method CA_ESTADO_REV      setFechaVigencia()      Sets the current record's "fecha_vigencia" value
 * @method CA_ESTADO_REV      setEstado()             Sets the current record's "estado" value
 * @method CA_ESTADO_REV      setCATITULONORMA()      Sets the current record's "CA_TITULO_NORMA" collection
 * @method CA_ESTADO_REV      setCAMODALIDADNORMA()   Sets the current record's "CA_MODALIDAD_NORMA" collection
 * @method CA_ESTADO_REV      setCAFORMULA()          Sets the current record's "CA_FORMULA" collection
 * 
 * @package    canon
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_ESTADO_REV extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_ESTADO_REV');
        $this->hasColumn('id_estado_rev', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 256, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('aplica_liquidacion', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('solicitud_en_proceso', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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