]> git.localhorst.tv Git - alttp.git/blob - app/Models/ChatBotLog.php
34d2febd42bd0d5a984b27a72537bc7352ff5b04
[alttp.git] / app / Models / ChatBotLog.php
1 <?php
2
3 namespace App\Models;
4
5 use Illuminate\Database\Eloquent\Factories\HasFactory;
6 use Illuminate\Database\Eloquent\Model;
7
8 class ChatBotLog extends Model {
9
10         use HasFactory;
11
12         public function channel() {
13                 return $this->belongsTo(Channel::class);
14         }
15
16         public function origin() {
17                 return $this->morphTo();
18         }
19
20 }