Последняя версия с сервера прошлого разработчика

This commit is contained in:
2025-07-10 04:35:51 +00:00
commit c731570032
1174 changed files with 134314 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace App\Domain\Messenger\Models;
use App\Models\User;
use App\Models\Model;
use App\Domain\Messenger\Models\ChatRoom;
class Message extends Model
{
// protected $touches = ['room'];
public function user()
{
return $this->belongsTo(User::class);
}
public function room()
{
return $this->belongsTo(ChatRoom::class, 'chat_room_id');
}
}