Download app/Models/Activity.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/app/Models/Activity.php
- Command line
-
hf download hf://pnacorp/magicai/app/Models/Activity.php
-
curl -L -o Activity.php https://huggingface.co/pnacorp/magicai/resolve/main/app/Models/Activity.php
320 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Database\Eloquent\Relations\BelongsTo; | |
| class Activity extends Model | |
| { | |
| protected $table = 'activity'; | |
| protected $guarded = []; | |
| public function user(): BelongsTo | |
| { | |
| return $this->belongsTo(User::class); | |
| } | |
| } | |