Created
July 6, 2020 02:28
-
-
Save blogcacanid/fa27a1abe91ddc5aa76db6275a0b17d3 to your computer and use it in GitHub Desktop.
PegawaiModel.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Models; | |
use CodeIgniter\Database\ConnectionInterface; | |
use CodeIgniter\Model; | |
class PegawaiModel extends Model | |
{ | |
protected $table = 'pegawai'; | |
protected $allowedFields = ['nip', 'nama_pegawai', 'alamat']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment