<?php

class ProfilDaerahKepadatanPenduduk extends \Jaga\Models\BaseModel
{

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

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

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

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

    /**
     *
     * @var float
     */
    public $luas_wilayah;

    /**
     *
     * @var float
     */
    public $kepadatan_penduduk;

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

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

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

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

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

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

    /**
     * @param null $parameters
     * @return ProfilDaerahKepadatanPenduduk[]|ProfilDaerahKepadatanPenduduk|\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 ProfilDaerahKepadatanPenduduk|\Phalcon\Mvc\Model\ResultInterface
     */
    public static function findFirst($parameters = null)
    {
        return parent::findFirst($parameters);
    }

}
