<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SupportMessage extends Model
{
    protected $fillable = ['user_id', 'message', 'sender', 'read'];

    protected $casts = ['read' => 'boolean'];

    public function user()
    {
        return $this->belongsTo(User::class);
    }
}