<?php

namespace App\Models;

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

class MlmLog extends Model
{
    use HasFactory;

    protected $fillable = [
        'event_type',
        'user_id',
        'reference_type',
        'reference_id',
        'data',
        'logged_at',
    ];

    protected $casts = [
        'data' => 'array',
        'logged_at' => 'datetime',
    ];
}
