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

/**
 * BasePR_CIERRE_AFORO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cierre_aforo
 * @property string $ano_fiscal
 * @property timestamp $fecha_inicial_cierre
 * @property string $observaciones
 * @property string $usuario
 * @property string $estado
 * 
 * @method integer         getIdCierreAforo()        Returns the current record's "id_cierre_aforo" value
 * @method string          getAnoFiscal()            Returns the current record's "ano_fiscal" value
 * @method timestamp       getFechaInicialCierre()   Returns the current record's "fecha_inicial_cierre" value
 * @method string          getObservaciones()        Returns the current record's "observaciones" value
 * @method string          getUsuario()              Returns the current record's "usuario" value
 * @method string          getEstado()               Returns the current record's "estado" value
 * @method PR_CIERRE_AFORO setIdCierreAforo()        Sets the current record's "id_cierre_aforo" value
 * @method PR_CIERRE_AFORO setAnoFiscal()            Sets the current record's "ano_fiscal" value
 * @method PR_CIERRE_AFORO setFechaInicialCierre()   Sets the current record's "fecha_inicial_cierre" value
 * @method PR_CIERRE_AFORO setObservaciones()        Sets the current record's "observaciones" value
 * @method PR_CIERRE_AFORO setUsuario()              Sets the current record's "usuario" value
 * @method PR_CIERRE_AFORO setEstado()               Sets the current record's "estado" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_CIERRE_AFORO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_CIERRE_AFORO');
        $this->hasColumn('id_cierre_aforo', '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_inicial_cierre', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $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,
             ));
    }

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