freescout2ant/Entities/CrmArchiveThread.php
2023-12-16 19:08:20 +05:30

24 lines
445 B
PHP

<?php
namespace Modules\AmeiseModule\Entities;
use Illuminate\Database\Eloquent\Model;
use App\Conversation;
class CrmArchiveThread extends Model
{
protected $guarded = ['id'];
protected $table = 'crm_archive_threads';
public function conversation()
{
return $this->belongsTo(Conversation::class);
}
public function thread()
{
return $this->belongsTo(Thread::class, 'thread_id');
}
//
}