movie-night-nuevo/app/Models/UserProfile.php
Edward Tirado Jr. 0c42bef077
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
initial commit
2025-12-12 23:07:04 -06:00

22 lines
400 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class UserProfile extends Model
{
protected $fillable = [
"user_id",
"first_name",
"last_name",
"location",
"date_of_birth",
];
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}