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

/**
 * BaseCA_NOTA_CREDITO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_nota_credito
 * @property string $descripcion
 * @property integer $estado
 * 
 * @method integer         getIdNotaCredito()   Returns the current record's "id_nota_credito" value
 * @method string          getDescripcion()     Returns the current record's "descripcion" value
 * @method integer         getEstado()          Returns the current record's "estado" value
 * @method CA_NOTA_CREDITO setIdNotaCredito()   Sets the current record's "id_nota_credito" value
 * @method CA_NOTA_CREDITO setDescripcion()     Sets the current record's "descripcion" value
 * @method CA_NOTA_CREDITO setEstado()          Sets the current record's "estado" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_NOTA_CREDITO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_NOTA_CREDITO');
        $this->hasColumn('id_nota_credito', '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', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             'default' => '0 ',
             ));
    }

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