<?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Poli_model extends CI_Model {

    public function get_all_active() {
        return $this->db->get_where('tb_poli', ['status' => 1])->result();
    }

    public function get_by_id($poli_id) {
        return $this->db->get_where('tb_poli', ['poli_id' => $poli_id])->row();
    }
}
