update the match view

This commit is contained in:
ghassan committed 2026-03-12 03:59:52 +03:00
1 parent 062c0e896f
commit 69f5df163a
14 files changed
+7331 -743

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class CoachReview extends Model
{
use HasFactory;
protected $fillable = [
'video_id',
'user_id',
'start_time_seconds',
'end_time_seconds',
'note',
'coach_name',
'emoji',
];
public function video(): BelongsTo
{
return $this->belongsTo(Video::class);
}
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}