Download core/app/Models/Review.php from pnacorp/promptlab: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/pnacorp/promptlab/resolve/main/core/app/Models/Review.php
- Command line
-
hf download hf://pnacorp/promptlab/core/app/Models/Review.php
-
curl -L -o Review.php https://huggingface.co/pnacorp/promptlab/resolve/main/core/app/Models/Review.php
290 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Model; | |
| class Review extends Model | |
| { | |
| public function user() | |
| { | |
| return $this->belongsTo(User::class); | |
| } | |
| public function prompt() | |
| { | |
| return $this->belongsTo(Prompt::class, 'prompt_id'); | |
| } | |
| } | |