<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes; // ← TAMBAHAN

class Activity extends Model
{
    use SoftDeletes; // ← TAMBAHAN

    protected $fillable = [
        'nama_kegiatan',
        'keterangan',
        'status',
        'user_id'
    ];

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