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

/**
 * BasePR_CIERRE_APROP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $ano_fiscal
 * @property timestamp $fecha
 * @property string $usuario
 * @property string $estado
 * @property integer $norma
 * 
 * @method integer         getId()         Returns the current record's "id" value
 * @method string          getAnoFiscal()  Returns the current record's "ano_fiscal" value
 * @method timestamp       getFecha()      Returns the current record's "fecha" value
 * @method string          getUsuario()    Returns the current record's "usuario" value
 * @method string          getEstado()     Returns the current record's "estado" value
 * @method integer         getNorma()      Returns the current record's "norma" value
 * @method PR_CIERRE_APROP setId()         Sets the current record's "id" value
 * @method PR_CIERRE_APROP setAnoFiscal()  Sets the current record's "ano_fiscal" value
 * @method PR_CIERRE_APROP setFecha()      Sets the current record's "fecha" value
 * @method PR_CIERRE_APROP setUsuario()    Sets the current record's "usuario" value
 * @method PR_CIERRE_APROP setEstado()     Sets the current record's "estado" value
 * @method PR_CIERRE_APROP setNorma()      Sets the current record's "norma" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_CIERRE_APROP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_CIERRE_APROP');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'string', 1, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('norma', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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