You've already forked lubo_comment_query
							
							init
This commit is contained in:
		
							
								
								
									
										13
									
								
								app/Models/VideoComments.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								app/Models/VideoComments.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace App\Models; | ||||
| 
 | ||||
| use Illuminate\Database\Eloquent\Model; | ||||
| 
 | ||||
| class VideoComments extends Model | ||||
| { | ||||
|     public function video(): \Illuminate\Database\Eloquent\Relations\BelongsTo | ||||
|     { | ||||
|         return $this->belongsTo(Videos::class, "aid", "id"); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user