<?php

class KemenkeuRealisasiApbd extends \Phalcon\Mvc\Model
{

    /**
     *
     * @var integer
     */
    public $id;

    /**
     *
     * @var integer
     */
    public $tahun;

    /**
     *
     * @var string
     */
    public $kodesatker;

    /**
     *
     * @var string
     */
    public $kodepemda;

    /**
     *
     * @var string
     */
    public $namapemda;

    /**
     *
     * @var string
     */
    public $namaprovinsi;

    /**
     *
     * @var string
     */
    public $level1coa90;

    /**
     *
     * @var string
     */
    public $level2coa90;

    /**
     *
     * @var string
     */
    public $level3coa90;

    /**
     *
     * @var double
     */
    public $nilaianggaran;

    /**
     *
     * @var double
     */
    public $nilairealisasi;

    /**
     *
     * @var double
     */
    public $persentase;

    /**
     *
     * @var string
     */
    public $updatedate;

    /**
     * Initialize method for model.
     */
    public function initialize()
    {
        $this->setSchema("jaga");
        $this->setSource("kemenkeu_realisasi_apbd");
    }

    /**
     * Returns table name mapped in the model.
     *
     * @return string
     */
    public function getSource()
    {
        return 'kemenkeu_realisasi_apbd';
    }

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return KemenkeuRealisasiApbd[]|KemenkeuRealisasiApbd|\Phalcon\Mvc\Model\ResultSetInterface
     */
    public static function find($parameters = null)
    {
        return parent::find($parameters);
    }

    /**
     * Allows to query the first record that match the specified conditions
     *
     * @param mixed $parameters
     * @return KemenkeuRealisasiApbd|\Phalcon\Mvc\Model\ResultInterface
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}
