country + status added and other changes

This commit is contained in:
2026-06-10 18:02:17 +05:45
parent 5a085148b4
commit a551ca538e
16 changed files with 1386 additions and 293 deletions
+7
View File
@@ -10,6 +10,8 @@ class Registration extends Model
'name',
'email',
'phone',
'country_id',
'status',
'total_score',
];
@@ -31,6 +33,11 @@ class Registration extends Model
return $this->hasMany(Comment::class);
}
public function country()
{
return $this->belongsTo(\App\Models\Country::class);
}
/*
|---------------------------
| Helper methods