<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Attributes\Fillable;

#[Fillable([
    'laporan_id',
    'kategori',
    'status',
    'keterangan'
])]
class LaporanDetail extends Model
{
    use HasFactory;

    public function laporan()
    {
        return $this->belongsTo(Laporan::class);
    }
}
