<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LeadConversionHistory extends Model
{
    protected $guarded = ['id'];
    protected $casts = ['duplicate_matches' => 'array', 'relationship_snapshot' => 'array'];
    public function deal() { return $this->belongsTo(Deal::class); }
    public function actor() { return $this->belongsTo(User::class, 'converted_by'); }
}
