<?php

class SpiMonFormDetail extends \Phalcon\Mvc\Model
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Allows to query a set of records that match the specified conditions
     *
     * @param mixed $parameters
     * @return SpiMonFormDetail[]|SpiMonFormDetail|\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 SpiMonFormDetail|\Phalcon\Mvc\Model\ResultInterface
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}
