Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Last active July 6, 2020 02:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/1694c40d23c81f7c0c7f4de9b86f4bbf to your computer and use it in GitHub Desktop.
Save blogcacanid/1694c40d23c81f7c0c7f4de9b86f4bbf to your computer and use it in GitHub Desktop.
Pegawai.php
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Pegawai extends Model
{
public $table = 'pegawai';
protected $primaryKey = 'pegawai_id';
protected $fillable = [
'nip',
'nama_pegawai',
'alamat'
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment