Last active
July 6, 2020 02:00
-
-
Save blogcacanid/1694c40d23c81f7c0c7f4de9b86f4bbf to your computer and use it in GitHub Desktop.
Pegawai.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; | |
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