<?php

namespace App\Events\Posts;

use App\Models\Post;
use App\Models\PostComment;
use App\Models\User;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class PostCommented
{
    use Dispatchable, SerializesModels;

    public function __construct(
        public readonly Post        $post,
        public readonly PostComment $comment,
        public readonly User        $commenter,
    ) {}
}
