Spaces:
Running
Running
Download app/Models/ScreeningResult.php from Ailixir-AI-Team/ailixir-api: direct link, hf CLI and curl.
- Browser
- Download file 421 Bytes
-
https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/06e8928c07068b151bcea9d64ac2b8b28c9090ff/app/Models/ScreeningResult.php
- Command line
-
hf download hf://spaces/Ailixir-AI-Team/ailixir-api@06e8928c07068b151bcea9d64ac2b8b28c9090ff/app/Models/ScreeningResult.php
-
curl -L -o ScreeningResult.php https://huggingface.co/spaces/Ailixir-AI-Team/ailixir-api/resolve/06e8928c07068b151bcea9d64ac2b8b28c9090ff/app/Models/ScreeningResult.php
421 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Database\Eloquent\Relations\BelongsTo; | |
| class ScreeningResult extends Model | |
| { | |
| protected $fillable = ['user_id', 'input', 'output', 'status']; | |
| protected $casts = [ | |
| 'input' => 'array', | |
| 'output' => 'array', | |
| ]; | |
| public function user(): BelongsTo | |
| { | |
| return $this->belongsTo(User::class); | |
| } | |
| } | |