You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
423 B
22 lines
423 B
<?php
|
|
|
|
namespace app\admin\model\shopro\chat;
|
|
|
|
use app\admin\model\shopro\Common;
|
|
use app\admin\model\shopro\chat\traits\ChatCommon;
|
|
|
|
class ServiceLog extends Common
|
|
{
|
|
use ChatCommon;
|
|
|
|
protected $name = 'shopro_chat_service_log';
|
|
|
|
protected $append = [
|
|
'room_name'
|
|
];
|
|
|
|
public function chatUser()
|
|
{
|
|
return $this->belongsTo(User::class, 'chat_user_id');
|
|
}
|
|
}
|
|
|