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

/**
 * BaseCO_FIRMA_LIQUIDA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_firma_liquida
 * @property string $nombre
 * @property string $cargo
 * @property string $firma
 * @property string $normatividad
 * @property Doctrine_Collection $CO_LIQUIDA_CONTRATO
 * 
 * @method integer             getIdFirmaLiquida()      Returns the current record's "id_firma_liquida" value
 * @method string              getNombre()              Returns the current record's "nombre" value
 * @method string              getCargo()               Returns the current record's "cargo" value
 * @method string              getFirma()               Returns the current record's "firma" value
 * @method string              getNormatividad()        Returns the current record's "normatividad" value
 * @method Doctrine_Collection getCOLIQUIDACONTRATO()   Returns the current record's "CO_LIQUIDA_CONTRATO" collection
 * @method CO_FIRMA_LIQUIDA    setIdFirmaLiquida()      Sets the current record's "id_firma_liquida" value
 * @method CO_FIRMA_LIQUIDA    setNombre()              Sets the current record's "nombre" value
 * @method CO_FIRMA_LIQUIDA    setCargo()               Sets the current record's "cargo" value
 * @method CO_FIRMA_LIQUIDA    setFirma()               Sets the current record's "firma" value
 * @method CO_FIRMA_LIQUIDA    setNormatividad()        Sets the current record's "normatividad" value
 * @method CO_FIRMA_LIQUIDA    setCOLIQUIDACONTRATO()   Sets the current record's "CO_LIQUIDA_CONTRATO" collection
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_FIRMA_LIQUIDA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_FIRMA_LIQUIDA');
        $this->hasColumn('id_firma_liquida', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('cargo', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('firma', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('normatividad', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasMany('CO_LIQUIDA_CONTRATO', array(
             'local' => 'id_firma_liquida',
             'foreign' => 'id_firma_liquida'));
    }
}