Files
BetiX/app/Models/DirectMessageReport.php
Dolo 0280278978
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled
Initialer Laravel Commit für BetiX
2026-04-04 18:01:50 +02:00

27 lines
467 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class DirectMessageReport extends Model
{
protected $fillable = [
'reporter_id',
'message_id',
'reason',
'details',
'status',
];
public function reporter()
{
return $this->belongsTo(User::class, 'reporter_id');
}
public function message()
{
return $this->belongsTo(DirectMessage::class, 'message_id');
}
}