buat benda baru

This commit is contained in:
hafifierahman
2021-09-13 00:39:24 +08:00
parent 8926241f0a
commit 557ec8cb3b
10 changed files with 218 additions and 127 deletions
+22
View File
@@ -0,0 +1,22 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class loguser extends Model
{
public $incrementing = true;
//show the primarykey of this table
protected $primaryKey = 'recno';
//show the table of this model
protected $table = 'loguser';
protected $fillable = ['recno', 'user', 'date','emel','action','note'];
//show that no public created been generated
public $timestamps = false;
}