<?php

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

/**
 * BaseNO_TIPO_PROCED_RETE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_contrato
 * @property string $codigo
 * @property string $descripcion
 * @property Doctrine_Collection $NO_TIP_NOV_KA
 * @property Doctrine_Collection $NO_TIPO_NOV_VAC
 * 
 * @method integer             getIdTipoContrato()   Returns the current record's "id_tipo_contrato" value
 * @method string              getCodigo()           Returns the current record's "codigo" value
 * @method string              getDescripcion()      Returns the current record's "descripcion" value
 * @method NO_TIPO_PROCED_RETE    setIdTipoContrato()   Sets the current record's "id_tipo_contrato" value
 * @method NO_TIPO_PROCED_RETE    setCodigo()           Sets the current record's "codigo" value
 * @method NO_TIPO_PROCED_RETE    setDescripcion()      Sets the current record's "descripcion" value
 * @method NO_TIPO_PROCED_RETE    setNOTIPNOVKA()       Sets the current record's "NO_TIP_NOV_KA" collection
 * @method NO_TIPO_PROCED_RETE    setNOTIPONOVVAC()     Sets the current record's "NO_TIPO_NOV_VAC" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_TIPO_PROCED_RETE extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('NO_TIPO_PROCED_RETE');
        $this->hasColumn('id_tipo_proced_rete', 'integer', 20, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('descripcion', 'string', 256, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 256,
        ));
        $this->hasColumn('abreviatura', 'string', 10, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 10,
        ));
        $this->hasColumn('aplica_funcionario', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('aplica_contratista', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('porcentaje', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('juramento', 'string', 4000, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 4000,
        ));
    }

    public function setUp() {
        
    }

}
