mirror of
https://gh.wpcy.net/https://github.com/hayBIT/freescout2ant.git
synced 2026-05-25 20:34:06 +08:00
25 lines
461 B
PHP
25 lines
461 B
PHP
<?php
|
|
|
|
namespace Modules\AmeiseModule\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use App\Conversation;
|
|
use App\Thread;
|
|
|
|
|
|
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');
|
|
}
|
|
|
|
//
|
|
}
|