<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LogAktivitas extends Model
{
    protected $table = 'log_aktivitas';

    protected $fillable = [
        'id_user',
        'aktivitas',
        'icon',
        'tipe'
    ];

    public function user()
    {
        return $this->belongsTo(User::class, 'id_user');
    }
}
