Skip to content

Instantly share code, notes, and snippets.

@blogcacanid

blogcacanid/Pegawai.php

Last active Jul 6, 2020
Embed
What would you like to do?
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