first commit

This commit is contained in:
vedant-chavan
2024-06-12 20:29:05 +05:30
commit eff0228447
246 changed files with 25388 additions and 0 deletions

38
app/Models/UserDetail.php Normal file
View File

@@ -0,0 +1,38 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\User;
use App\Models\LeaderboardMaster;
class UserDetail extends Model
{
use HasFactory;
protected $fillable = [
'user_id',
'company_id',
'profile_picture',
'user_bio',
'description',
'gender',
'age',
'city',
'full_address',
'height',
'weight'
];
public function user(){
return $this->hasMany(User::class);
}
// public function user_details()
// {
// return $this->belongsTo(LeaderboardMaster::class);
// }
}