<?php

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

/**
 * BaseNO_CENTRO_TRABAJO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_aporte
 * @property string $codigo
 * @property string $descripcion
 * @property Doctrine_Collection $NO_LIQUIDA_APORTE
 * @property Doctrine_Collection $NO_DESCTO_DETALLE
 * @property Doctrine_Collection $NO_AFILIA_FONDO
 * @property Doctrine_Collection $CONT_LIQUIDA_APORTE
 * @property Doctrine_Collection $CONT_AFILIA_FONDO
 * 
 * @method integer             getIdTipoAporte()        Returns the current record's "id_tipo_aporte" value
 * @method string              getCodigo()              Returns the current record's "codigo" value
 * @method string              getDescripcion()         Returns the current record's "descripcion" value
 * @method Doctrine_Collection getNOLIQUIDAAPORTE()     Returns the current record's "NO_LIQUIDA_APORTE" collection
 * @method Doctrine_Collection getNODESCTODETALLE()     Returns the current record's "NO_DESCTO_DETALLE" collection
 * @method Doctrine_Collection getNOAFILIAFONDO()       Returns the current record's "NO_AFILIA_FONDO" collection
 * @method Doctrine_Collection getCONTLIQUIDAAPORTE()   Returns the current record's "CONT_LIQUIDA_APORTE" collection
 * @method Doctrine_Collection getCONTAFILIAFONDO()     Returns the current record's "CONT_AFILIA_FONDO" collection
 * @method NO_CENTRO_TRABAJO      setIdTipoAporte()        Sets the current record's "id_tipo_aporte" value
 * @method NO_CENTRO_TRABAJO      setCodigo()              Sets the current record's "codigo" value
 * @method NO_CENTRO_TRABAJO      setDescripcion()         Sets the current record's "descripcion" value
 * @method NO_CENTRO_TRABAJO      setNOLIQUIDAAPORTE()     Sets the current record's "NO_LIQUIDA_APORTE" collection
 * @method NO_CENTRO_TRABAJO      setNODESCTODETALLE()     Sets the current record's "NO_DESCTO_DETALLE" collection
 * @method NO_CENTRO_TRABAJO      setNOAFILIAFONDO()       Sets the current record's "NO_AFILIA_FONDO" collection
 * @method NO_CENTRO_TRABAJO      setCONTLIQUIDAAPORTE()   Sets the current record's "CONT_LIQUIDA_APORTE" collection
 * @method NO_CENTRO_TRABAJO      setCONTAFILIAFONDO()     Sets the current record's "CONT_AFILIA_FONDO" 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_CENTRO_TRABAJO extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('NO_CENTRO_TRABAJO');
        $this->hasColumn('id_centro_trabajo', 'integer', 8, array(
            'notnull' => false,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 8,
        ));
        $this->hasColumn('codigo', 'string', 9, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 9,
        ));
        $this->hasColumn('descripcion', 'string', 500, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 500,
        ));
    }

    public function setUp() {
        
    }

}