<?php

class DesaKoordinat extends \Phalcon\Mvc\Model
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}
