<?php

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

/**
 * BaseCA_TIPO_OPERACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @package    canon
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_TIPO_OPERACION extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('CA_TIPO_OPERACION');
        $this->hasColumn('id_tipo_operacion', 'integer', 8, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('descripcion', 'string', 512, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 512,
        ));
        $this->hasColumn('desc_corta', 'string', 20, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 1,
        ));
    }

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

}
