23 lines
432 B
PHP
23 lines
432 B
PHP
<?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;
|
|
}
|