First Commit

This commit is contained in:
marco
2026-09-01 07:49:48 -03:00
commit 28b1044038
399 changed files with 41659 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
/**
* @property int $id
* @property int $user_id
* @property string $interest
* @property-read \Illuminate\Support\Carbon|null $created_at
* @property-read \Illuminate\Support\Carbon|null $updated_at
* @property-read User $user
*/
class UserInterest extends Model
{
/** @var array<int, string> */
protected $fillable = [
'user_id',
'interest',
];
/**
* Get the user that owns the interest.
*/
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}