Initial commit

This commit is contained in:
2025-08-01 22:04:00 +02:00
commit d1f466d1d4
155 changed files with 15995 additions and 0 deletions

40
app/Models/Profile.php Normal file
View File

@@ -0,0 +1,40 @@
<?php
declare(strict_types=1);
namespace App\Models;
use App\Models\Contracts\BelongsToUser;
use App\Models\Traits\UserScopedModel;
use Database\Factories\ProfileFactory;
use Illuminate\Database\Eloquent\Concerns\HasUuids;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
final class Profile extends Model implements BelongsToUser
{
/** @use HasFactory<ProfileFactory> */
use HasFactory;
use HasUuids;
use UserScopedModel;
protected $fillable = [
'network_id',
'resume_id',
'username',
'url',
];
/** @return BelongsTo<Network, $this> */
public function network(): BelongsTo
{
return $this->belongsTo(Network::class);
}
/** @return BelongsTo<Resume, $this> */
public function resume(): BelongsTo
{
return $this->belongsTo(Resume::class);
}
}