love_php/app/Models/Live/ViewerShareAudit.php

23 lines
460 B
PHP
Raw Normal View History

2026-04-02 09:20:51 +08:00
<?php
namespace App\Models\Live;
use Illuminate\Database\Eloquent\Model;
class ViewerShareAudit extends Model
{
protected $table = 'viewer_cash_audit';
public function viewer(){
return $this->belongsTo(Viewer::class, 'viewer_id');
}
public function otherViewer(){
return $this->belongsTo(Viewer::class, 'other_viewer_id');
}
public function task(){
return $this->belongsTo(Task::class, 'task_id');
}
}