<?php

namespace App\Models;

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

class Conversation extends Model
{
    protected $fillable = ['user_id', 'lawyer_id'];

    public function messages()
    {
        return $this->hasMany(Message::class);
    }
}

