We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 188b5fa commit 031bbcdCopy full SHA for 031bbcd
app/Models/AIMatchFeedback.php
@@ -0,0 +1,26 @@
1
+<?php
2
+
3
+namespace App\Models;
4
5
+use Illuminate\Database\Eloquent\Model;
6
7
+class AIMatchFeedback extends Model
8
+{
9
+ protected $table = 'ai_match_feedbacks';
10
11
+ protected $fillable = [
12
+ 'suggested_match_id',
13
+ 'user_id',
14
+ 'action',
15
+ 'payload',
16
+ ];
17
18
+ protected $casts = [
19
+ 'payload' => 'array',
20
21
22
+ public function suggestedMatch()
23
+ {
24
+ return $this->belongsTo(AISuggestedMatch::class, 'suggested_match_id');
25
+ }
26
+}
0 commit comments